IsPlayable

From the Fallout3 GECK Wiki
Revision as of 07:11, 23 August 2014 by imported>Odessa (Correction- only works for armor)
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 specified armor or calling reference has the playable flag. Always returns true if called with a non-armor item. Added by NVSE 4.2.

Syntax

[help]
(bool) IsPlayable ToCheck:Armor

Example

if IsPlayable SomeArmor
    ; The armor is playable
endif

See Also