"Health and Damage System Help" Please help
var health : float = 100;
function ApplyDamage( amount : float ) { health -= amount; if ( health <= 0 ) Dead(); }
function Dead() { print ( name + " is dead now."); }
"Health and Damage System Help" Please help
var health : float = 100;
function ApplyDamage( amount : float ) { health -= amount; if ( health <= 0 ) Dead(); }
function Dead() { print ( name + " is dead now."); }