IsEquipped

From the Fallout3 GECK Wiki
Revision as of 04:15, 21 September 2014 by imported>Odessa (usage note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

[help]
(bool) reference.IsEquipped

Example

ref rItem

foreach rItem <- PlayerREF
    if rItem.IsEquipped
     ; do something
    endif
loop

Usage Note

See Also