Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
LordMisfit (talk | contribs)
mNo edit summary
No edit summary
Line 50: Line 50:
*[[holoduke_amount]]
*[[holoduke_amount]]
*[[holoduke_on]]
*[[holoduke_on]]
*[[holster_weapon]]


| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |


*[[holster_weapon]]
*[[horiz]]
*[[horiz]]
*[[horizoff]]
*[[horizoff]]
Line 99: Line 99:
*[[palookup]]
*[[palookup]]
*[[pals]]
*[[pals]]
*[[pals_time]]


| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |
| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |


*[[pals_time]]
*[[player_par]]
*[[player_par]]
*[[posx]]
*[[posx]]

Revision as of 20:24, 7 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: