Ifbulletnear: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[If condition]] returning 'true' if a projectile (Such as, RPG) is near the [[actor]].
'''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.


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

Latest revision as of 11: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.