CutsceneCmdActivate

From Headbone Creative
Revision as of 03:50, 15 April 2013 by Tyson Joehler (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This will turn an object off or on. If watchTarget is enabled, it will wait for the object to turn itself off before reporting it is complete; otherwise it will report it is complete immediately after being started.

Contents

Public Variables

target : GameObject

This is the object whose active status is toggled. It must be assigned in the editor.

changeStateOnStart : bool

This tells the class whether or not to change the active flag of the target object when OnCutsceneStart is called.

stateOnStart : bool

This is what the state of the object should be if changeStateOnStart is set to true.

changeStateOnReset : bool

This tells the class whether or not to change the active flag of the target object when OnCutsceneReset is called.

stateOnReset : bool

This is what the state of the object should be if changeStateOnReset is set to true.

changeStateOnFinished : bool

This tells the class whether or not to change the active flag of the target object when OnCutsceneFinished is called.

stateOnFinished : bool

This is what the state of the object should be if changeStateOnFinished is set to true.

watchTarget : bool

If this is set to true, the script will not report it's complete until the target object deactivates itself.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox