Difference between revisions of "CutsceneCmdInterface"

From Headbone Creative
Jump to: navigation, search
(Initial page)
 
(Adding categories)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions:
 
This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions:
*void OnStart ();
+
==void OnStart ();==
**Called to notify the cutscene to start
+
Called to notify the cutscene to start
*void OnReset ();
+
==void OnReset ();==
**Called to notify the cutscene to reset
+
Called to notify the cutscene to reset
*void OnFinished ();
+
==void OnFinished ();==
**Called to notify the cutscene to finish
+
Called to notify the cutscene to finish
*void ProcessUpdate ();
+
==void ProcessUpdate ();==
**Called each frame while the cutscene is active to drive the cutscene actions
+
Called each frame while the cutscene is active to drive the cutscene actions
*bool IsComplete ();  
+
==bool IsComplete (); ==
**Called to check whether or not the cutscene has finished its actions.
+
Called to check whether or not the cutscene has finished its actions.
 +
 
 +
[[Category:API]]
 +
[[Category:Cutscene Framework]]
 +
[[Category:Premium Scripts]]

Latest revision as of 04:04, 15 April 2013

This is an interface that defines what functions each kind of cutscene must implement. It defines the following functions:

Contents

[edit] void OnStart ();

Called to notify the cutscene to start

[edit] void OnReset ();

Called to notify the cutscene to reset

[edit] void OnFinished ();

Called to notify the cutscene to finish

[edit] void ProcessUpdate ();

Called each frame while the cutscene is active to drive the cutscene actions

[edit] bool IsComplete ();

Called to check whether or not the cutscene has finished its actions.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox