sentrywiz
New Member
- Reaction score
- 25
I've reached a GUI level where I can say how useful arrays are. Before I didn't even understood how or why can someone use them, being so complex and unnecessary. Now, I just find everything made with them easier.
However, I don't know how to destroy arrays.
Example:
If I create a point array (Temp_Point[Player number of ((Triggering Player))] and use it for some MUI spell that has some sort of channeling, how do I remove this point array?
If I create Timer_Cast[Player number of ((Triggering Player))] and use it for MUI spell that has one effect -> timer ends -> second effect, I cannot set the Array Timer in Events, hence the Array. If I make periodic event, and through conditions, IF/ELSE/THEN try to find out which timer expired for which player, trigger doesn't work. And bottom line, how do you remove anything in custom script that has array in it?
However, I don't know how to destroy arrays.
Example:
If I create a point array (Temp_Point[Player number of ((Triggering Player))] and use it for some MUI spell that has some sort of channeling, how do I remove this point array?
If I create Timer_Cast[Player number of ((Triggering Player))] and use it for MUI spell that has one effect -> timer ends -> second effect, I cannot set the Array Timer in Events, hence the Array. If I make periodic event, and through conditions, IF/ELSE/THEN try to find out which timer expired for which player, trigger doesn't work. And bottom line, how do you remove anything in custom script that has array in it?