IsEquipped

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns true (1) if the calling item reference is currently equipped by its owner.

Syntax

[help]
(bool) reference.IsEquipped 

Example

ref rItem

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

Usage Note

See Also