Cursectnum: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
the [[sector]] the [[player]] is in
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]]

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.