GetEquippedWeaponRef

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.50.

Description

Returns the calling actor reference's currently equipped weapon, as an Inventory Reference. If no weapon is equipped, returns 0. This is equivalent to calling GetEquippedItemRef for the Weapon slot.

Syntax

[help]
(equippedWeap:invRef) actorRefr.GetEquippedWeaponRef 

See also