Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController Class Reference

Conversation condition and command controlling cutscene. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController:

Classes

class  Factory
 Behavior factory. More...
 
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)
 

Public Attributes

Instance pInstance
 

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>}

Start cutscene using animator with break points.

  • 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
cutscene element <path> {<bone>}

Start element animator. Can be called before or after "cutscene start".

  • path: Path to animator to load
  • bone: Name of bone to use to animated element. If not set "element" is used.

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 
)

Member Data Documentation

◆ pInstance

Instance Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.pInstance

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