UI_get_weapon
![[SI, Exult]](images/siexultsm.png)
int UI_get_weapon(actor npc)
int npc->get_weapon()
Inspect what type of weapon an NPC is using.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC whose weapon is to be inspected. |
Return
Zero if no weapon, one- or two-handed, is wielded by the NPC. Otherwise, the shape in 'SHAPES.VGA' of the weapon being used.