Difference between revisions of "CompoundCutscene"

From Headbone Creative
Jump to: navigation, search
(Initial page)
 
(Initial page)
Line 2: Line 2:
  
 
The editor for the Compound Cutscene shows all of the cutscenes in the list, along with buttons to modify the position of the cutscenes within the list. There is a button to easily create new cutscenes, and delete existing cutscenes, and a button to update the cutscene list if you manually delete a Cutscene GameObject without using the button in the CompoundCutscene editor.  
 
The editor for the Compound Cutscene shows all of the cutscenes in the list, along with buttons to modify the position of the cutscenes within the list. There is a button to easily create new cutscenes, and delete existing cutscenes, and a button to update the cutscene list if you manually delete a Cutscene GameObject without using the button in the CompoundCutscene editor.  
 +
 +
== Public Variables ==
 +
=== howToProcess : ProcessingMethod ===
 +
This tells the class how to process the list of cutscenes. The possible values are: SEQUENTIAL, PARALLEL.
 +
=== onStartMessage : string ===
 +
This message is sent when the compound cutscene starts.
 +
=== onStepMessage : string ===
 +
This message is sent each time the compound cutscene is using SEQUENTIAL mode, and a new child cutscene is started.
 +
=== onFinishedMessage : string ===
 +
This message is sent when the compound cutscene finishes.
 +
 +
== Example ==
 +
This class is demonstrated in the [[Cutscene Demo]].
  
 
[[Category:Cutscene Framework]]
 
[[Category:Cutscene Framework]]
 +
[[Category:API]]
 +
[[Category:Premium Scripts]]

Revision as of 02:22, 15 April 2013

The CompoundCutscene contains a list of all cutscenes it controls. These may be processed sequentially or in parallel. Either way, the CompoundCutscene will only report that is is complete when all Cutscenes in its list have completed. CompoundCutscenes may contain other CompoundCutscenes in their list; using this, you may create sophisticated scenes fairly quickly.

The editor for the Compound Cutscene shows all of the cutscenes in the list, along with buttons to modify the position of the cutscenes within the list. There is a button to easily create new cutscenes, and delete existing cutscenes, and a button to update the cutscene list if you manually delete a Cutscene GameObject without using the button in the CompoundCutscene editor.

Contents

Public Variables

howToProcess : ProcessingMethod

This tells the class how to process the list of cutscenes. The possible values are: SEQUENTIAL, PARALLEL.

onStartMessage : string

This message is sent when the compound cutscene starts.

onStepMessage : string

This message is sent each time the compound cutscene is using SEQUENTIAL mode, and a new child cutscene is started.

onFinishedMessage : string

This message is sent when the compound cutscene finishes.

Example

This class is demonstrated in the Cutscene Demo.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox