Difference between revisions of "CutsceneCmdSound"

From Headbone Creative
Jump to: navigation, search
(Initial page)
 
 
Line 1: Line 1:
 
This will play a sound when started.
 
This will play a sound when started.
 +
== Public Variables ==
 +
=== clipToPlay : AudioClip ===
 +
The clip to play when the cutscene starts.
 +
=== waitForSoundToFinish : bool ===
 +
If this is set to true, the cutscene will wait until the sound has finished playing before reporting it is complete. Otherwise, it will immediately report it is complete after starting the sound.
  
 +
[[Category:API]]
 
[[Category:Cutscene Framework]]
 
[[Category:Cutscene Framework]]
 +
[[Category:Premium Scripts]]

Latest revision as of 16:07, 15 April 2013

This will play a sound when started.

[edit] Public Variables

[edit] clipToPlay : AudioClip

The clip to play when the cutscene starts.

[edit] waitForSoundToFinish : bool

If this is set to true, the cutscene will wait until the sound has finished playing before reporting it is complete. Otherwise, it will immediately report it is complete after starting the sound.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox