Enable

From GECK

Revision as of 01:11, 15 May 2009 by Cipscis (Talk | contribs) (Added default value to ''[FadeIn]'' parameter)

Link to TES4 Construction Set Wiki: Enable.

A function included in the GECK version 1.1.0.36.

Description

Enables the calling reference if it was previously disabled. Enabled references are rendered, and enabled actors will process their AI.

Syntax

Enable FadeIn:Int{Default = 1}

Example

TerminalRef.Enable

TerminalRef, if previously disabled, will be enabled. Because the [FadeIn] parameter was not set, TerminalRef will fade in by default.

Notes

  • If multiple references should share an enable state, Enable Parenting should be used so that Enable only needs to be called once in order to affect the enable state of all appropriate references.
  • If Enable is called on a reference with an Enable Parent, it will have no effect.
  • When applied to an enable parent the [FadeIn] parameter will not be passed to the children. Enable will be called on them, which fades in by default ([FadeIn] set to 1).
    • In order for the children to Pop In (Instead of fade in which is the default for Enable) you must go to each child and, under the enable parent tab, check the "Pop In" checkbox.

See Also

Personal tools