Seven Towers: UCC Reference

USECODE INTRINSICS

[SI, Exult]

int UI_get_weapon(actor npc)
int npc->get_weapon()

Inspect what type of weapon an NPC is using.

Parameters

npcThe 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.

Related intrinsics

See also