ФЭНДОМ


A function included in the GECK version 1.1.0.36.

Описание

Disabled the calling reference. Disabled references are not rendered, and disabled actors will not process their AI. Scripts will run on disabled references.

Синтаксис

Disable FadeIn:Int{Default = 0}

Example

TerminalRef.Disable

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


TerminalRef.Disable 0

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

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 Disable is called on a reference with an Enable Parent, it will have no effect.
  • The [FadeIn] parameter does not affect the children of an Enable Parent. The children will still pop out when disabled.
  • Disable does not remove references from the game, just stops them from rendering. Do not rely on Disable to prevent savegame bloat by removing references. MarkForDelete should be used to remove references from the game.
  • Disabled actors cannot be forced to activate objects via Activate.
  • Disabling the object on which a spell is active during the ScriptEffectStart block causes unpredictable behavior in the later spell blocks.

See Also

Обнаружено использование расширения AdBlock.


Викия — это свободный ресурс, который существует и развивается за счёт рекламы. Для блокирующих рекламу пользователей мы предоставляем модифицированную версию сайта.

Викия не будет доступна для последующих модификаций. Если вы желаете продолжать работать со страницей, то, пожалуйста, отключите расширение для блокировки рекламы.

Также на ФЭНДОМЕ

Случайная вики