Actors can't have a variable applied to them?
#4

Try something like this:
Код:
new actors[4]; // Change 4 to 1 more than however many actors you want.
Then whenever you create the actor, do so like this:
Код:
actor[0] = CreateActor(0, 0.0, 0.0, 3.0, 0.0);
Then it'd be like:
Код:
if(actor[0])
{
    //Do something here.
}
No idea if this would work, just an idea.
Reply


Messages In This Thread
Actors can't have a variable applied to them? - by Aerotactics - 09.03.2017, 18:59
Re: Actors can't have a variable applied to them? - by Toroi - 09.03.2017, 23:09
Re: Actors can't have a variable applied to them? - by Aerotactics - 10.03.2017, 04:52
Re: Actors can't have a variable applied to them? - by oSAINTo - 10.03.2017, 05:07
Re: Actors can't have a variable applied to them? - by Unte99 - 10.03.2017, 05:09
Re: Actors can't have a variable applied to them? - by vital2k - 10.03.2017, 07:04
Re: Actors can't have a variable applied to them? - by NaS - 10.03.2017, 07:35

Forum Jump:


Users browsing this thread: 1 Guest(s)