Sort? No. But writing a sort is really easy. Look up sorting algorithms on wikipedia :O You'd also be free to steal the insertion sort I use in my team's map Starcraft Tactics, but it's heavily modified (and we have a LOT of triggers) so you're better off making your own.
But basically no. You can't take an array as a parameter, so it stands to reason that there is no function which can do anything to an array.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Or do anything with arrays besides create them?
@bravetarget:
Sort? No. But writing a sort is really easy. Look up sorting algorithms on wikipedia :O You'd also be free to steal the insertion sort I use in my team's map Starcraft Tactics, but it's heavily modified (and we have a LOT of triggers) so you're better off making your own.
But basically no. You can't take an array as a parameter, so it stands to reason that there is no function which can do anything to an array.