IsEquipped
From GECK
A function added by the New Vegas Script Extender.
Contents
Description
Returns true (1) if the calling item reference is currently equipped by its owner.
Syntax
(bool) reference.IsEquipped
Example
ref rItem foreach rItem <- PlayerREF if rItem.IsEquipped ; do something endif loop
Usage Note
- As of NVSE 4.5.7, this function must be called on an inventory reference. You can obtain a (temporary) inventory reference using a foreach loop on a container, or functions such as GetInvRefsForItem, GetFirstRefForItem, or CreateTempRef.