Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
mNo edit summary
Line 67: Line 67:
*[[knuckle_incs]]
*[[knuckle_incs]]
*[[last_extra]]
*[[last_extra]]
*[[last_full_weapon]]
*[[last_quick_kick]]
*[[last_pissed_time]]
*[[last_pissed_time]]
*[[last_weapon]]
*[[lastrandomspot]][1]
*[[lastrandomspot]][1]
*[[last_full_weapon]]
*[[last_weapon]]
*[[loogcnt]]
*[[loogcnt]]
*[[loogiex]]
*[[loogiex]]

Revision as of 17:25, 2 March 2010

The various members of the player structure affect various aspects of the player, and manipulating their values is a very important aspect of scripting in EDuke32. Values can be retrieved from the game's internal player structures and stored in a gamevar with the getplayer command, and the setplayer command allows you to set any of the player structure member's value to that of a gamevar.

Here is the list of members of the player structure:

[1] Unused members. The game doesn't use them.
[2] Unavailable members. There is no access to them via CON.