Ifstrength: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
ifstrength <number>
'''ifstrength''' <strength> { do something } else { do something else }


Checks if the current [[actor]]'s current [[strength]] is <number>.
Checks if the current [[actor]]'s current [[strength]] is less than or equal to <number>.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sprite manipulation]]
[[Category:If conditions]]
[[Category:If conditions]]

Latest revision as of 11:56, 4 May 2009

ifstrength <strength> { do something } else { do something else }

Checks if the current actor's current strength is less than or equal to <number>.