Blockland Forums > Modification Help
Getting a projectile's source item's user's client
<< < (5/5)
Unicide:
sourceObject.client did work. Dunno what's up with that but thanks everyone.
Unicide:
Not really related but what are the variable's for a vehicle/player's current health? I'm fairly sure about the max health (it's pretty obvious) but I dunno about current health.
Amade:

--- Quote from: Unicide on October 10, 2011, 07:48:31 PM ---Not really related but what are the variable's for a vehicle/player's current health? I'm fairly sure about the max health (it's pretty obvious) but I dunno about current health.
--- End quote ---
%obj.getDatablock().maxDamage - %obj.getDamageLevel();
Pretty roundabout, I know, but there's not a function just for current health.
Navigation
Message Index
Previous page

Go to full version