IsEquipped
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns true (1) if the calling reference is currently equipped by its owner. Added by NVSE 4.5.
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.