PROJ OFFSET: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
'''defineprojectile''' <tilenum> '''PROJ_OFFSET''' <offset>
Sets the x offset of the projectile fired. As the numbers get higher, the projectile's initial position will move further to the left.
Sets the x offset of the projectile fired. As the numbers get higher, the projectile's initial position will move further to the left.



Revision as of 06:25, 21 February 2020

defineprojectile <tilenum> PROJ_OFFSET <offset>

Sets the x offset of the projectile fired. As the numbers get higher, the projectile's initial position will move further to the left.

A value of 224 will make the projectile spawn at the "right hand" (for example Battlelord morters). To make it spawn centered, use a value of 14354.