Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController Class Reference

Conversation condition and command controlling cutscene. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController:

Classes

class  Instance
 Behavior instance. More...
 

Public Member Functions

bool evaluateCondition (ECBehaviorConversationActor.Instance instance, Array arguments)
 
ConversationController new (Instance instance)
 
void runCommand (ECBehaviorConversationActor.Instance instance, Array arguments)
 

Detailed Description

Conversation condition and command controlling cutscene.

Condition Syntax: cutscene playing|paused|stopped Checks if cutscene is playing, paused or stopped.

Command Syntax: cutscene start [path] {[breakPoint1] ... [breakPointN]} path: Path to animator to load breakPoint*: Break points to wait on in seconds in ascending order

cutscene resume Resume cutscene if paused (hence waiting at a break point).

cutscene stop Stop cutscene if running

cutscene synthesizer [path] [range] {[positionX] [positionY] [positionZ] {[bone]}} Loads synthesizer and starts playing it back. Attaches the speaker to the actor. path: Absolute path to synthesizer to load range: Range in meters of speaker position*: Position relative to actor origin to attach speaker to bone: Attach relative to bone instead of actor origin

Member Function Documentation

◆ evaluateCondition()

bool Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.evaluateCondition ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)

◆ new()

ConversationController Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.new ( Instance  instance)

◆ runCommand()

void Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.runCommand ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)

The documentation for this class was generated from the following file: