IsPlayable

From the Fallout3 GECK Wiki
Revision as of 12:41, 28 June 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns true if the specified object has the playable flag. Always returns false if the item can not be flagged as playable in the edito...")
(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 if the specified object has the playable flag. Always returns false if the item can not be flagged as playable in the editor.

Syntax

[help]
(bool) IsPlayable Item:Object

Example

if IsPlayable SomeItem
    ; The item is playable
endif

See Also