Members of the player structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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:
<div style="column-count:3;-moz-column-count:3;">
<div style="column-count:3;-moz-column-count:3;">
Config
Config
Line 89: Line 85:
*[[opyoff]]
*[[opyoff]]
*[[over_shoulder_on]]
*[[over_shoulder_on]]
*[[palette]]
*[[palookup]]
*[[palookup]]
*[[pals]]
*[[pals]]
Line 119: Line 116:
*[[exity]][1]
*[[exity]][1]
*[[lastrandomspot]][1]
*[[lastrandomspot]][1]
*[[loogiex]]
*[[loogiey]]
*[[name]][2]
*[[name]][2]
*[[palette]][2]
*[[randomflamex]][1]
*[[randomflamex]][1]


Line 131: Line 125:
*[[actorsqu]]
*[[actorsqu]]
*[[airleft]]
*[[airleft]]
*[[autostep]]
*[[autostep_sbw]]
*[[buttonpalette]]
*[[buttonpalette]]
*[[customexitsound]]
*[[customexitsound]]
Line 144: Line 140:
*[[last_extra]]
*[[last_extra]]
*[[loogcnt]]
*[[loogcnt]]
*[[loogiex]]
*[[loogiey]]
*[[max_player_health]]
*[[max_player_health]]
*[[numloogs]]
*[[numloogs]]
Line 169: Line 167:
[2] Unavailable members. There is no access to them via CON.
[2] Unavailable members. There is no access to them via CON.


[[Category:Structure access]]
[[Category:Player manipulation]]
[[Category:Player manipulation]]
[[Category:Structure member documentation]]
__NOTOC__

Revision as of 02:43, 18 February 2019

Config

Cheat Codes

Ammo

Weapons

Inventory

Coordinates

Movements speed

View

Quotes

Score

Multiplayer

Deprecated

Misc

[1] Unused members. The game doesn't use them.
[2] Unavailable members. There is no access to them via CON.