PlayerHealth: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 6: Line 6:
Returns the amount of health the activator of the script has. Returns zero if the activator is world.
Returns the amount of health the activator of the script has. Returns zero if the activator is world.


This is equivalent to '''{{Zdoomwiki|GetActorProperty}}''' (0, APROP_Health)
This is equivalent to <code>'''{{Zdoomwiki|GetActorProperty}}'''(0, APROP_Health)</code>.


==Examples==
==Examples==