setAlive( <alive> )


Module: Entity

Summary:

Enables damage feedback for non-player entities.



Call this on:

An entity



Example:

 self setAlive(1);
 self waittill("damage", dmg);



Required Args:

  • 1 : <alive> Integer 1 for alive or 0 for dead