Members of the player structure: Difference between revisions
Jump to navigation
Jump to search
Undo revision 6112 by LordMisfit (Talk) |
Hendricks266 (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
*[[ang]] | *[[ang]] | ||
*[[angvel]] | *[[angvel]] | ||
*[[auto_aim]] | |||
*[[bobcounter]] | *[[bobcounter]] | ||
*[[bobposx]] | *[[bobposx]] | ||
Line 100: | Line 101: | ||
*[[pals]] | *[[pals]] | ||
*[[pals_time]] | *[[pals_time]] | ||
*[[player_par]] | |||
| width="33%" valign="top" style="border-left: none; padding: 0.6em;" | | | width="33%" valign="top" style="border-left: none; padding: 0.6em;" | | ||
*[[posx]] | *[[posx]] | ||
*[[posxv]] | *[[posxv]] | ||
Line 118: | Line 119: | ||
*[[refresh_inventory]] | *[[refresh_inventory]] | ||
*[[reloading]] | *[[reloading]] | ||
*[[return_to_center]] | |||
*[[rotscrnang]] | *[[rotscrnang]] | ||
*[[runspeed]] | *[[runspeed]] | ||
Line 128: | Line 130: | ||
*[[show_empty_weapon]] | *[[show_empty_weapon]] | ||
*[[somethingonplayer]] | *[[somethingonplayer]] | ||
*[[sound_pitch]] | |||
*[[spritebridge]] | *[[spritebridge]] | ||
*[[steroids_amount]] | *[[steroids_amount]] | ||
Line 145: | Line 148: | ||
*[[weapon_pos]] | *[[weapon_pos]] | ||
*[[weapon_sway]] | *[[weapon_sway]] | ||
*[[weaponswitch]] | |||
*[[weaprecs]] | *[[weaprecs]] | ||
*[[weapreccnt]] | *[[weapreccnt]] |
Revision as of 14:58, 13 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: