EnableAlt

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.17.

Description

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

Ignores Enable's limitation of being unable to enable references that have an Enable Parent. Ignoring this limit has not been solidly tested, so some issues may pop up. Otherwise, the two functions are identical.

Syntax

[help]
reference.EnableAlt FadeIn:Int{Default = 1} 

Or:

reference.SnigOn FadeIn:Int{Default = 1}

Example

TerminalRef.EnableAlt

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

TerminalRef.EnableAlt 0

With the parameter set as '0', the object will not fade in.

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.

See Also