Drag[en]gine Script Module DragonScript Script API  1.0
ConversationAction Class Referenceabstract

Conversation actions. More...

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

Public Member Functions

void dispose ()
 Dispose of action. More...
 
void execute (ConversationPlayback playback)
 Execute the action. More...
 
float getDelay ()
 Delay in seconds before processing this action. More...
 
int getWaitForActorSpeak ()
 Actor to wait speaking for or -1 for no wait. 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 setWaitForActorSpeak (int actor)
 Set actor to wait speaking for or -1 for no wait. More...
 
- Public Member Functions inherited from 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...
 

Detailed Description

Conversation actions.

Member Function Documentation

◆ dispose()

void dispose ( )

Dispose of action.

◆ execute()

void execute ( ConversationPlayback  playback)

Execute the action.

◆ getDelay()

float getDelay ( )

Delay in seconds before processing this action.

◆ getWaitForActorSpeak()

int getWaitForActorSpeak ( )

Actor to wait speaking for or -1 for no wait.

◆ new() [1/2]

Create conversation action.

◆ new() [2/2]

Read from file.

◆ setDelay()

void setDelay ( float  delay)

Set delay in seconds before processing this action.

◆ setWaitForActorSpeak()

void setWaitForActorSpeak ( int  actor)

Set actor to wait speaking for or -1 for no wait.


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