SetIsPlayable

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets whether the object or calling reference can be used by the player. If a calling reference is given, its BaseForm is modified.

Only works on Biped forms.

Syntax

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

Example

SetIsPlayable 1, SomeArmor

Form Types

These form types can be Playable:

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

See Also