Hi all.
Having a problem generating enemys in my game. Currently, whenever i run my script, i get the error:
Code:
Crash in generate_enemys1 ent_create (warlock, temp)
The generate code is placed on a model, where i want the entity to be created.
Code:
action generate_enemies1() //Generate The bad boys!
{
while (1)
{
wait (24 + random(24));
temp.x = my.x;
temp.y = my.y;
temp.z = my.z;
ent_create(warlock, temp);
wait (1);
}
}
All help is apricated!
Cheers
