User:Fox/test/Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with '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...'
 
Fox (talk | contribs)
No edit summary
Line 9: Line 9:
{| cellpadding="0" cellspacing="0" border="0" width="100%"
{| cellpadding="0" cellspacing="0" border="0" width="100%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
xxx
Inventory
*[[xxx]]
*[[airleft]]
*[[xxx]]
*[[boot_amount]]
*[[firstaid_amount]]
*[[heat_amount]]
*[[heat_on]]
*[[holoduke_amount]]
*[[holoduke_on]]
*[[holster_weapon]]
*[[invdisptime]]
*[[inven_icon]]
*[[jetpack_amount]]
*[[jetpack_on]]
*[[max_shield_amount]]
*[[refresh_inventory]]
*[[scuba_amount]]
*[[scuba_on]]
*[[shield_amount]]
*[[steroids_amount]]


xxx
Weapons
*[[xxx]]
*[[aim_mode]]
*[[xxx]]
*[[ammo_amount]]
*[[auto_aim]]
*[[curr_weapon]]
*[[gotweapon]]
*[[hbomb_hold_delay]]
*[[hbomb_on]]
*[[kickback_pic]]
*[[last_full_weapon]]
*[[last_weapon]]
*[[max_ammo_amount]]
*[[quick_kick]]
*[[random_club_frame]]
*[[rapid_fire_hold]]
*[[reloading]]
*[[return_to_center]]
*[[show_empty_weapon]]
*[[subweapon]]
*[[wantweaponfire]]
*[[weapon_ang]]
*[[weapon_pos]]
*[[weapon_sway]]
*[[weaponswitch]]
*[[weaprecs]][2]
*[[weapreccnt]]


| 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;" |

Revision as of 07:10, 2 December 2009

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.

Inventory

Weapons

xxx

xxx

xxx

xxx