Ifdead: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
BlasterDRP (talk | contribs)
mNo edit summary
One (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Checks to see if the current [[actor]] is "dead" or not.
'''ifdead''' { do something } else { do something else }
 
Checks to see if the current [[actor]] is dead or not. An [[actor]] is considered dead if its [[strength]] is 0 or less.
 
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sprite manipulation]]
[[Category:If conditions]]

Latest revision as of 12:45, 4 May 2009

ifdead { do something } else { do something else }

Checks to see if the current actor is dead or not. An actor is considered dead if its strength is 0 or less.