Ifonwater: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
 
Line 1: Line 1:
'''ifonwater''' { do something } else { do something else }
'''ifonwater''' { do something } else { do something else }


[[If condition]] that checks if the current [[actor]] is grounded in a water surface [[sector]].
[[If condition]] that checks if the current [[actor]] is in a [[sector]] with lo-tag 1 and if it is at a certain distance from the floor.


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

Latest revision as of 19:10, 21 March 2014

ifonwater { do something } else { do something else }

If condition that checks if the current actor is in a sector with lo-tag 1 and if it is at a certain distance from the floor.