01.08.2010, 10:51
Quote:
The code looks ok, but the array is really static, there's no need for the MAX_GATES constant, you can keep the 1st dimenon empty, aslong as you are filling the array from there, you cannot create a empty array and do something with it anywhere else in the script, otherwise the size will be 0.
And you should remove the timer when you use the command, quick look through 'callbacks' will give you a good idea ![]() And the gateid varible in your array is rather useless, you could just use the index of the array as the gateid, it's not as complex as it sounds. Anyway it's a nice job, I like your command operating idea. |


About you're gateid comment, i use that as the name so i can trigger move object with that number, and then hopefully, noobish users get the drift a bit better

Thanks
Ash