Autostep: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''''autostep''''' controls the maximum difference in height at which a player will "step" onto a surface without needing to jump. The default value is 5120. Note that autostep applies to view/wall aligned [[sprite]]s and regular [[sector]]s.
'''''autostep''''' controls the maximum difference in height at which a player will "step" onto a surface without needing to jump. The default value is 5120. Note that autostep applies to view/wall aligned [[sprite]]s and regular [[sector]]s.
If you are making a permanent change to this value, it is best to do it from [[EVENT_ENTERLEVEL]] so the game never overwrites your value with the default.


For above water sectors ([[lotag]] 1) and floor aligned sprites ([[cstat]] 32) (see [[spritebridge]]) please see [[autostep_sbw]].
For above water sectors ([[lotag]] 1) and floor aligned sprites ([[cstat]] 32) (see [[spritebridge]]) please see [[autostep_sbw]].


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 21:51, 1 November 2012

autostep controls the maximum difference in height at which a player will "step" onto a surface without needing to jump. The default value is 5120. Note that autostep applies to view/wall aligned sprites and regular sectors.

If you are making a permanent change to this value, it is best to do it from EVENT_ENTERLEVEL so the game never overwrites your value with the default.

For above water sectors (lotag 1) and floor aligned sprites (cstat 32) (see spritebridge) please see autostep_sbw.