Ifbulletnear: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[If condition]] returning 'true' if a projectile | '''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]] | [[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.