Members of the player structure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hunter byte (talk | contribs) Some corrections. Note: scream_voice isn't a new member. |
||
Line 85: | Line 85: | ||
*[[max_shield_amount]] | *[[max_shield_amount]] | ||
*[[movement_lock]] | *[[movement_lock]] | ||
*[[name]][ | *[[name]][2] | ||
*[[newowner]] | *[[newowner]] | ||
*[[numloogs]] | *[[numloogs]] | ||
Line 101: | Line 101: | ||
*[[opyoff]] | *[[opyoff]] | ||
*[[over_shoulder_on]] | *[[over_shoulder_on]] | ||
*[[palette]] | *[[palette]][2] | ||
*[[palookup]] | *[[palookup]] | ||
*[[pals]] | *[[pals]] | ||
Line 127: | Line 127: | ||
*[[runspeed]] | *[[runspeed]] | ||
*[[sbs]] | *[[sbs]] | ||
*[[scream_voice]] | |||
*[[scuba_amount]] | *[[scuba_amount]] | ||
*[[scuba_on]] | *[[scuba_on]] | ||
*[[secret_rooms]] | *[[secret_rooms]] | ||
*[[shield_amount]] | *[[shield_amount]] | ||
*[[show_empty_weapon]] | *[[show_empty_weapon]] |
Revision as of 08:56, 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]Deprecated or unknown function commands.
[2]The following commands may not be recognized by the latest version of Eduke32.