IsEquipped

Revision as of 03:15, 21 September 2014 by imported>Odessa (usage note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

See Also