SetIsPlayable

From the Fallout3 GECK Wiki
Revision as of 11:48, 26 January 2017 by imported>Pintocat
(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

Sets whether the object or calling reference can be used by the player.

Syntax

[help]
(none) reference.SetIsPlayable IsPlayable:bool Item:Object

Example

SetIsPlayable 1, SomeWeapon

Form Types

These form types can be Playable:

10: Hair (not supported by this function; see LNIsPlayable)
11: Eyes (not supported by this function; see LNIsPlayable)
12: Race (not supported by this function; see LNIsPlayable)
24: Armor
40: Weapon
41: Ammo
86: Perk (not supported by this function; see LNIsPlayable)

See Also