SetDefaultOpen

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Sets the default open state for an object. (The equivalent of using the "Open By Default" checkbox on a reference.)

Syntax

[help]
ref.SetDefaultOpen defaultOpen:int

Example

SetDefaultOpen 1  

object's default state is now "open"

See Also