Looping functions
#2

create the objects in an array, like:
PHP код:
new SomeArray[10];
//creating the objects
SomeArray[0] = Createobj.....
SomeArray[1] = cre.....
//and so on till
SomeArray[9] = Creat.....
//then you can use a loop to destroy them.
for(new i=0i<10i++)
{
DestroyObject(SomeArray[i]);

Reply


Messages In This Thread
Looping functions - by HighFlyer - 29.12.2013, 17:32
AW: Looping functions - by CutX - 29.12.2013, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)