SetIsPlayable

< [[::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

(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