Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Some corrections. Note: scream_voice isn't a new member.
No edit summary
Line 7: Line 7:
*[[access_incs]]
*[[access_incs]]
*[[access_spritenum]]
*[[access_spritenum]]
*[[access_wallnum]][1]
*[[access_wallnum]]
*[[actors_killed]]
*[[actors_killed]]
*[[actorsqu]]
*[[actorsqu]]
Line 149: Line 149:
*[[walking_snd_toggle]]
*[[walking_snd_toggle]]
*[[wantweaponfire]]
*[[wantweaponfire]]
*[[weapon_ang]][1]
*[[weapon_ang]]
*[[weapon_pos]]
*[[weapon_pos]]
*[[weapon_sway]]
*[[weapon_sway]]
Line 158: Line 158:
|}
|}


[1]Deprecated or unknown function commands.
[1] Unused members. The game doesn't use them.<br>
 
[2] Unavailable members. There is no access to them via CON.
[2]The following commands may not be recognized by the latest version of Eduke32.


[[Category:Player manipulation]]
[[Category:Player manipulation]]
[[Category:Structure member documentation]]
[[Category:Structure member documentation]]

Revision as of 10:44, 3 August 2008

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.