Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
LordMisfit (talk | contribs)
mNo edit summary
Line 131: Line 131:
*[[steroids_amount]]
*[[steroids_amount]]
*[[subweapon]]
*[[subweapon]]
*[[team]]
*[[timebeforeexit]]
*[[timebeforeexit]]
*[[tipincs]]
*[[tipincs]]

Revision as of 14:29, 12 June 2007

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: