Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
float getDelay ()
 Delay in seconds before processing this action.
bool getWaitForActor ()
 Wait for actor.
String getWaitForActorID ()
 ID of actor to wait for or null to wait for all actors.
bool getWaitSpeakOnly ()
 Waiting considers only actor speaking not actor waiting.
ConversationAction new ()
 Create conversation action.
ConversationAction new (PersistencyEnvironment env, FileReader reader)
 Read from file.
void setDelay (float delay)
 Set delay in seconds before processing this action.
void setWaitForActor (bool wait)
 Set wait for actor.
void setWaitForActorID (String id)
 Set ID of actor to wait for or null to wait for all actors.
void setWaitSpeakOnly (bool speakOnly)
 Set waiting considers only actor speaking not actor waiting.
Public Member Functions inherited from Dragengine.LoadSave.Persistable
String persistencyFactoryName ()
 Name of PersistencyFactory required to load object from file.
void writeObjectToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer.

Public Attributes

float pDelay
bool pWaitForActor
String pWaitForActorID

Detailed Description

Conversation actions.

Member Function Documentation

◆ execute()

◆ getDelay()

float Dragengine.ConversationSystem.ConversationAction.getDelay ( )

Delay in seconds before processing this action.

Referenced by execute().

◆ getWaitForActor()

bool Dragengine.ConversationSystem.ConversationAction.getWaitForActor ( )

Wait for actor.

References new(), and pWaitForActor.

Referenced by getWaitSpeakOnly().

◆ getWaitForActorID()

String Dragengine.ConversationSystem.ConversationAction.getWaitForActorID ( )

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

References pWaitForActor, and setWaitForActor().

Referenced by execute().

◆ getWaitSpeakOnly()

bool Dragengine.ConversationSystem.ConversationAction.getWaitSpeakOnly ( )

Waiting considers only actor speaking not actor waiting.

Version
1.24

References getWaitForActor().

Referenced by setDelay().

◆ new() [1/2]

◆ new() [2/2]

◆ setDelay()

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

Set delay in seconds before processing this action.

References getWaitSpeakOnly().

Referenced by execute().

◆ setWaitForActor()

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

Set wait for actor.

References new(), pDelay, and pWaitForActorID.

Referenced by getWaitForActorID().

◆ setWaitForActorID()

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

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

Referenced by execute().

◆ setWaitSpeakOnly()

void Dragengine.ConversationSystem.ConversationAction.setWaitSpeakOnly ( bool speakOnly)

Set waiting considers only actor speaking not actor waiting.

Version
1.24

References pWaitForActor.

Referenced by execute().

Member Data Documentation

◆ pDelay

float Dragengine.ConversationSystem.ConversationAction.pDelay

Referenced by execute(), and setWaitForActor().

◆ pWaitForActor

bool Dragengine.ConversationSystem.ConversationAction.pWaitForActor

◆ pWaitForActorID

String Dragengine.ConversationSystem.ConversationAction.pWaitForActorID

Referenced by execute(), and setWaitForActor().


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