18.08.2016, 23:10
No, read the rules man, and learn to script... Seriously, you provide NO code, and this is the simplest request ever.
This is scripting help, not script for you. Provide some code next time.
Quote:
You make 2 functions, (E.g. StartEvent, and EndEvent) one of which places the objects, another that removes those objects. You then call the first one when the event starts, you call the second when the event finishes. At the top of the script you can use Код:
new EventObject[20]; When creating the objects you use Код:
EventObject[X]=CreateObject(bladebla) Then when you remove them you use Код:
DestroyObject(EventObject[X]); You can do both of these in for loops. The second will be simple to do as a for loop, the first will take some work and reading. |