Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Text changes
Beepity boop
Line 3: Line 3:
Here is the list of members of the player structure:
Here is the list of members of the player structure:


{| cellpadding="0" cellspacing="0" border="0" width="100%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
*[[access_incs]]
*[[access_incs]]
*[[access_spritenum]]
*[[access_spritenum]]
Line 48: Line 50:
*[[holoduke_amount]]
*[[holoduke_amount]]
*[[holoduke_on]]
*[[holoduke_on]]
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
*[[holster_weapon]]
*[[holster_weapon]]
*[[horiz]]
*[[horiz]]
Line 93: Line 98:
*[[palookup]]
*[[palookup]]
*[[pals]]
*[[pals]]
| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |
*[[pals_time]]
*[[pals_time]]
*[[player_par]]
*[[player_par]]
Line 138: Line 146:
*[[weapreccnt]]
*[[weapreccnt]]
*[[zoom]]
*[[zoom]]
|}


[[Category:Player manipulation]]
[[Category:Player manipulation]]

Revision as of 19:35, 14 September 2006

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: