Spritebridge: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
Sangman (talk | contribs)
m link to getzrange for non-player actor
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
gives 1 if player is on a floor flattend sprite
This has a value of 1 if the player is standing on a floor sprite (such as the bridge in Duke3D's E1L1; from r1450 onwards, also if standing on a wall sprite).  Otherwise, the value is 0.  See [[sbs]].
 
Non-player actors do not have a spritebridge property, but the equivalent information for them can be calculated using [[getzrange]].
 
[[Category:Player structure members]]

Latest revision as of 17:37, 3 December 2020

This has a value of 1 if the player is standing on a floor sprite (such as the bridge in Duke3D's E1L1; from r1450 onwards, also if standing on a wall sprite). Otherwise, the value is 0. See sbs.

Non-player actors do not have a spritebridge property, but the equivalent information for them can be calculated using getzrange.