Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
*[[actors_killed]]
*[[actors_killed]]
*[[actorsqu]]
*[[actorsqu]]
*[[aim_mode]]
*[[airleft]]
*[[airleft]]
*[[ammo_amount]]
*[[ammo_amount]]
Line 52: Line 53:
*[[holoduke_on]]
*[[holoduke_on]]
*[[holster_weapon]]
*[[holster_weapon]]
*[[horiz]]


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


*[[horiz]]
*[[horizoff]]
*[[horizoff]]
*[[hurt_delay]]
*[[hurt_delay]]
Line 79: Line 80:
*[[look_ang]]
*[[look_ang]]
*[[max_actors_killed]]
*[[max_actors_killed]]
*[[max_ammo_amount]]
*[[max_player_health]]
*[[max_secret_rooms]]
*[[max_secret_rooms]]
*[[max_shield_amount]]
*[[movement_lock]]
*[[movement_lock]]
*[[name]]
*[[name]]

Revision as of 11:45, 8 December 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: