Ifphealthl: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
Bloodclaw (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
ifphealthl <number>
'''ifphealthl''' <number> { do something } else { do something else }


Checks if the player's health is below <number>. Similar to [[ifstrength]].
[[If condition]] returning true if the player's health is lower than <number>. Similar to [[ifstrength]].
 
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Player manipulation]]
[[Category:If conditions]]

Latest revision as of 11:18, 9 July 2009

ifphealthl <number> { do something } else { do something else }

If condition returning true if the player's health is lower than <number>. Similar to ifstrength.