NAVIGATION
Wiki » Reference » DOOM 3 Script Events » getCurrentWeapon
ARTICLE
getCurrentWeapon
This is a script event on id Tech 4 engines, present on DOOM 3, Quake 4 and Prey. Below you can find its signature for each game that declares it.
DOOM 3
Returns "weaponX" where X is the number of the weapon the player is currently holding.
| Property | Value |
|---|---|
| Type | script event |
| Returns | string |
| Section | players |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | string |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | string |
Last changed Sep 21, 2026
