Difference between revisions of "Cursectnum" - EDukeWiki

# Difference between revisions of "Cursectnum"

From EDukeWiki

Revision as of 23:31, 15 November 2013 (view source) Fox (talk | contribs) ← Older edit | Latest revision as of 08:24, 16 November 2013 (view source) TX (talk | contribs)
Line 1: | Line 1:
− | This is the [[sector]] that the [[player]] is in. This generally shouldn't be altered unless you're doing something such as teleporting the player. It appears that, unlike a sprite [[sectnum]], it's possible for this equal -1. | + | This is the [[sector]] that the [[player]] is in. This generally shouldn't be altered unless you're doing something such as teleporting the player. Unlike a sprite's [[sectnum]] value, this value is not stored in or part of a linked list and may equal -1 if the player is currently outside of a sector.
| + |
| + | A player may go outside of a sector by being crushed in a swinging door, using glitches and bugs to accelerate themselves fast enough to pass through walls (and into null space) or by simply using the "no clipping" cheat code.
| [[Category:Player structure members]] |  | [[Category:Player structure members]]

## Latest revision as of 08:24, 16 November 2013

This is the sector that the player is in. This generally shouldn't be altered unless you're doing something such as teleporting the player. Unlike a sprite's sectnum value, this value is not stored in or part of a linked list and may equal -1 if the player is currently outside of a sector.

A player may go outside of a sector by being crushed in a swinging door, using glitches and bugs to accelerate themselves fast enough to pass through walls (and into null space) or by simply using the "no clipping" cheat code.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Cursectnum&oldid=11705"
Category:

- Player structure members