Destroy actor Glitch.. i think.
Posted: Thu Jul 19, 2007 4:23 pm
i think theres a glitch or some thing in ge, every time i try to add a create actor in the destroy actor event, it wont work, when the actor is destroyed, nothing happens, theres no error messege or anything, heres the code i'm useing.
- Code: Select all
int n;
n=rand(1);
if (n==0)CreateActor("HealthDrop", "HealthDrop", "StarTrak", "(none)", 0, 0, false);
if (n==1)CreateActor("UpgrdDrop", "UpgrdDrop", "StarTrak", "(none)", 0, 0, false);
- Code: Select all
CreateActor("HealthDrop", "HealthDrop", "StarTrak", "(none)", 0, 0, false);