Drag[en]gine Script Module DragonScript  1.23
Dragengine.ConversationSystem.ConversationAction Class Reference

Conversation actions. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationAction:
Dragengine.LoadSave.Persistable Dragengine.ConversationSystem.CActionActorAdd Dragengine.ConversationSystem.CActionActorCommand Dragengine.ConversationSystem.CActionActorRemove Dragengine.ConversationSystem.CActionActorSpeak Dragengine.ConversationSystem.CActionCameraShot Dragengine.ConversationSystem.CActionCoordSystemAdd Dragengine.ConversationSystem.CActionCoordSystemRemove Dragengine.ConversationSystem.CActionGameCommand Dragengine.ConversationSystem.CActionIfElse Dragengine.ConversationSystem.CActionMusic Dragengine.ConversationSystem.CActionPlayerChoice Dragengine.ConversationSystem.CActionSetActorParameter Dragengine.ConversationSystem.CActionSetVariable Dragengine.ConversationSystem.CActionSnippet Dragengine.ConversationSystem.CActionStopConversation Dragengine.ConversationSystem.CActionStopTopic Dragengine.ConversationSystem.CActionTrigger Dragengine.ConversationSystem.CActionWait

Public Member Functions

void execute (ConversationPlayback playback)
 Execute the action. More...
 
float getDelay ()
 Delay in seconds before processing this action. More...
 
bool getWaitForActor ()
 Wait for actor. More...
 
String getWaitForActorID ()
 ID of actor to wait for or null to wait for all actors. More...
 
ConversationAction new ()
 Create conversation action. More...
 
ConversationAction new (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
 
void setDelay (float delay)
 Set delay in seconds before processing this action. More...
 
void setWaitForActor (bool wait)
 Set wait for actor. More...
 
void setWaitForActorID (String id)
 Set ID of actor to wait for or null to wait for all actors. More...
 
- Public Member Functions inherited from Dragengine.LoadSave.Persistable
String persistencyFactoryName ()
 Name of PersistencyFactory required to load object from file. More...
 
void writeObjectToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer. More...
 

Public Attributes

float pDelay
 Delay before processing the action. More...
 
bool pWaitForActor
 Wait for actor. More...
 
String pWaitForActorID
 ID of actor to wait for or null to wait for all actors. More...
 

Detailed Description

Conversation actions.

Member Function Documentation

◆ execute()

◆ getDelay()

float Dragengine.ConversationSystem.ConversationAction.getDelay ( )

Delay in seconds before processing this action.

◆ getWaitForActor()

bool Dragengine.ConversationSystem.ConversationAction.getWaitForActor ( )

Wait for actor.

◆ getWaitForActorID()

String Dragengine.ConversationSystem.ConversationAction.getWaitForActorID ( )

ID of actor to wait for or null to wait for all actors.

◆ new() [1/2]

◆ new() [2/2]

◆ setDelay()

void Dragengine.ConversationSystem.ConversationAction.setDelay ( float  delay)

Set delay in seconds before processing this action.

◆ setWaitForActor()

void Dragengine.ConversationSystem.ConversationAction.setWaitForActor ( bool  wait)

Set wait for actor.

◆ setWaitForActorID()

void Dragengine.ConversationSystem.ConversationAction.setWaitForActorID ( String  id)

Set ID of actor to wait for or null to wait for all actors.

Member Data Documentation

◆ pDelay

float Dragengine.ConversationSystem.ConversationAction.pDelay

Delay before processing the action.

◆ pWaitForActor

bool Dragengine.ConversationSystem.ConversationAction.pWaitForActor

Wait for actor.

◆ pWaitForActorID

String Dragengine.ConversationSystem.ConversationAction.pWaitForActorID

ID of actor to wait for or null to wait for all actors.


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