OsGetHealth
From OpenSimulator
Revision as of 02:13, 24 August 2012 by TBGRenfold (Talk | contribs)
Gets an avatars health by key.
Example usage:
default { touch(integer t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }