Dummyplayersprite: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Member of the [[player]] struct; when going underwater, a dummy PLAYERUNDERWATER sprite is spawned. The ID of this sprite is tracked in dummyplayersprite.  This sprite is made to follow the player's position, and is killed when the player moves back out of water.
Member of the [[player]] struct.  When wading in water, a dummy PLAYERUNDERWATER sprite is spawned. The ID of this sprite is tracked in '''dummyplayersprite'''.  This sprite is made to follow the player's position, and is killed when the player moves back out of water.
 
This can be examined when using room-over-room features for water sectors.


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

Latest revision as of 11:44, 26 July 2010

Member of the player struct. When wading in water, a dummy PLAYERUNDERWATER sprite is spawned. The ID of this sprite is tracked in dummyplayersprite. This sprite is made to follow the player's position, and is killed when the player moves back out of water.

This can be examined when using room-over-room features for water sectors.