How can I apply an action to an entity after ent_create? I mean it like here:
Code:
ent_create("bullet.mdl",my.x, NULL);
wait(1);
set(my, PASSABLE);
my.pan = temp_pan;
my.tilt = temp_tilt;
my.action = fly; // this doesn't work, but how must it be written!?
Thanks for reading, thinking, answering
Entire Thread
Subject
Posted By
Posted
apply an action to an entity after it has been created