I am making a cog that creates 50 different things at 50 different ghost locations.
Although the way i was gonna do it doesnt seem to allow for it. I was thinking of using an array but I guess I was wrong thinking you could do this with cogscript:
code
activated:
i=0;
dummy=Creatething(mything0, spot0);
call createnew;
return;
createnew:
newdummy=Creatething(mything, spot);
DestroyThing(dummy);
dummy=newdummy;
MoveToFrame(dummy, 1, speed);
WaitForStop(dummy);
i=i+1;
if (i==50) i=0;
call createnew;
Return;
end
What can i do? Plaese Helpp maaee. Playeeese Halllp.
------------------
Although the way i was gonna do it doesnt seem to allow for it. I was thinking of using an array but I guess I was wrong thinking you could do this with cogscript:
code
activated:
i=0;
dummy=Creatething(mything0, spot0);
call createnew;
return;
createnew:
newdummy=Creatething(mything, spot);
DestroyThing(dummy);
dummy=newdummy;
MoveToFrame(dummy, 1, speed);
WaitForStop(dummy);
i=i+1;
if (i==50) i=0;
call createnew;
Return;
end
What can i do? Plaese Helpp maaee. Playeeese Halllp.
------------------