PlayMaker Feedback > Action Requests
Hasht Table Get By Index (Not Key)
westingtyler:
Hash Table Get By Index (Not Key)
Has Table Get only allows by Key it seems, but I want to get them by a specific Int Index.
jeanfabre:
Hi,
hashtable doesn't work with indexes by design ( it doesn't maintain indexing at all), so for hashtable you must use key.
in your case, the key could be an string of an int, that's fine.
Bye,
Jean
westingtyler:
is that why when I go into play mode, all the hashed things gets scrambled and is no longer alphabetized?
jeanfabre:
Hi,
yep :)
Bye,
Jean
westingtyler:
Is there an action to "Sort Hash Table alphabetically"? If not, I'd like to request that action. It would be very helpful for the Get Next in Hash action thing.
It would also be great to have an action to add all the keys of a hash table, to an fsm string array. would that be possible?
Also, an editor script, like under Tools, or something, that would sort the hash entries alphabetically would be super helpful in editor mode.
Also, how many keys can a Hash have before performance problems? is 500 keys too much?
Navigation
[0] Message Index
[#] Next page
Go to full version