Ifbulletnear: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''ifbulletnear''' { do something } else { do something else }
[[If condition]] returning 'true' if a projectile is near the [[actor]].  In the case of hitscan projectiles (such as SHOTSPARK1), it returns true if the point of impact is near the player.
[[If condition]] returning 'true' if a projectile is near the [[actor]].  In the case of hitscan projectiles (such as SHOTSPARK1), it returns true if the point of impact is near the player.


[[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 12:42, 4 May 2009

ifbulletnear { do something } else { do something else }

If condition returning 'true' if a projectile is near the actor. In the case of hitscan projectiles (such as SHOTSPARK1), it returns true if the point of impact is near the player.