Objects
#7

No, read the rules man, and learn to script... Seriously, you provide NO code, and this is the simplest request ever.

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];
to make an array to track the objects

When creating the objects you use
Код:
EventObject[X]=CreateObject(bladebla)
with X starting at 0, and going through to 19.

Then when you remove them you use
Код:
DestroyObject(EventObject[X]);
where X will be each one you had.

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.

This is scripting help, not script for you. Provide some code next time.
Reply


Messages In This Thread
Objects - by Loinal - 15.08.2016, 12:57
Re: Objects - by Loinal - 15.08.2016, 13:06
Re: Objects - by Stinged - 15.08.2016, 13:19
Re: Objects - by Loinal - 15.08.2016, 13:21
Re: Objects - by Loinal - 15.08.2016, 18:26
Re: Objects - by Loinal - 18.08.2016, 22:54
Re: Objects - by Sew_Sumi - 18.08.2016, 23:10

Forum Jump:


Users browsing this thread: 4 Guest(s)