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...'
 
m Hendricks266 moved page User:Ilovefoxes/test/Members of the player structure to User:Fox/test/Members of the player structure: Automatically moved page while renaming the user "Ilovefoxes" to "Fox"
 
(3 intermediate revisions by one other user not shown)
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]]
 
Multiplayer
*[[frag]]
*[[frag_ps]]
*[[fraggedself]]
*[[team]]
 
View
 
Enemy related


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

Latest revision as of 10:57, 16 November 2012

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

Multiplayer

View

Enemy related

xxx

xxx

xxx

xxx