crash at death,take a quick look..
Posted: Wed Nov 30, 2011 6:28 am
Code: Select all
{
Spawn[ ()
{
Console(false);
BoxWidth(16); // set bounding box width/depth
NewOrder("Fire");
} ]
Fire[ ()
{
FireProjectile("Firebolt", "BONE02", 0, 0, 6, "health", "");
Delay("Idle", 0.2, "");
AttributeOrder("health", 20, "Destoyed");
RestartOrder();
} ]
Destoyed[ ()
{
AddExplosion("Firebolt1Explosion", "BONE02", 0,0,0);
SetEventState("Trap1Trigger", true);
Remove(true);
} ]
}
It is just a skull-like object on the wall that usually spawns when the player goes near it.