Posted By: Toryno
apply an action to an entity after it has been created - 04/16/09 15:57
How can I apply an action to an entity after ent_create?
I mean it like here:
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!?