function spawn_dead_init(e) end function spawn_dead_main(e) if g_Entity[e]['activated'] == 1 then CollisionOff(e) RotateToPlayer(e) StartTimer(e) SetActivated(e,2) elseif g_Entity[e]['activated'] == 2 then if GetTimer(e) > 250 then SetEntityHealth(e,0) SetActivated(e,3) end end end function spawn_dead_exit(e) end