Jump to content

Shoot: Difference between revisions

From EDukeWiki
mNo edit summary
No edit summary
Line 14: Line 14:
Commands with a "z" prefix shoot the projectile with a z-velocity of <[[zvel]]>.  Values for <[[zvel]]> can be calculated using the [[ldist]] command.  These functions are useful for causing an [[actor]] to aim vertically at objects other than the player.  They are also important to control the vertical aim of hitscan projectiles.  In hitscan projectiles, the value works similar to sloped [[sector]]s (4096 [[build units]] = 45�).
Commands with a "z" prefix shoot the projectile with a z-velocity of <[[zvel]]>.  Values for <[[zvel]]> can be calculated using the [[ldist]] command.  These functions are useful for causing an [[actor]] to aim vertically at objects other than the player.  They are also important to control the vertical aim of hitscan projectiles.  In hitscan projectiles, the value works similar to sloped [[sector]]s (4096 [[build units]] = 45�).


Commands with an additional "var" suffix take [[gamevar]]s rather than constants or [[define]]d labels for their inputs.
{{varsuffix}}


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Projectile manipulation]]
[[Category:Projectile manipulation]]

Revision as of 20:33, 24 February 2011