NAVIGATION
ARTICLE
DOOM 3 script events: players
| Name | Description |
|---|---|
| getButtons | Returns the button state from the current user command. |
| getMove | Returns the movement relative to the player's view angles from the current user command. vector_x = forward, vector_y = right, vector_z = up |
| getViewAngles | Returns the player view angles. |
| enableWeapon | Enables the player weapon. |
| disableWeapon | Lowers and disables the player weapon. |
| getCurrentWeapon | Returns "weaponX" where X is the number of the weapon the player is currently holding. |
| getPreviousWeapon | Returns "weaponX" where X is the number of the weapon the player was previously holding. |
| selectWeapon | Selects the weapon the player is holding. |
| getWeaponEntity | Returns the entity for the player's weapon |
| openPDA | Opens the player's PDA. |
| inPDA | Returns true if the player has the PDA open. |
Last changed Sep 21, 2026
