Drag[en]gine Script Module DragonScript Script API  1.0
CActionWait Class Reference

Conversation action waiting for condition to become false while looping actions. More...

Inheritance diagram for CActionWait:
ConversationAction

Public Member Functions

void addAction (ConversationAction action)
 Add action. More...
 
void dispose ()
 Dispose of action. More...
 
void execute (ConversationPlayback playback)
 Execute action. More...
 
void forEachAction (Block aBlock)
 Visits actions. More...
 
Array getActionsForSaveID (int saveID)
 For loading retrieves the actions array matching a given unique number or null if not found. More...
 
ConversationCondition getCondition ()
 Condition or null to skip action. More...
 
float getInterval ()
 Interval to wait before testing the condition again to improve performance. More...
 
ConversationActionIterator getIteratorActions ()
 Actions to loop while condition is true. More...
 
int getSaveIDForActions (Array actions)
 For saving determines a unique number to identify the given actions array with or -1 if not found. More...
 
CActionWait new ()
 Create conversation action. More...
 
void setCondition (ConversationCondition condition)
 Set condition or null to skip action. More...
 
void setInterval (float interval)
 Set interval to wait before testing the condition again to improve performance. More...
 
- Public Member Functions inherited from ConversationAction
void dispose ()
 
void execute (ConversationPlayback playback)
 
Array getActionsForSaveID (int saveID)
 
float getDelay ()
 
int getSaveIDForActions (Array actions)
 
int getWaitForActorSpeak ()
 
ConversationAction new ()
 
void setDelay (float delay)
 
void setWaitForActorSpeak (int actor)
 

Detailed Description

Conversation action waiting for condition to become false while looping actions.

Member Function Documentation

§ addAction()

void addAction ( ConversationAction  action)

Add action.

§ dispose()

void dispose ( )

Dispose of action.

§ execute()

void execute ( ConversationPlayback  playback)

Execute action.

§ forEachAction()

void forEachAction ( Block  aBlock)

Visits actions.

§ getActionsForSaveID()

Array getActionsForSaveID ( int  saveID)

For loading retrieves the actions array matching a given unique number or null if not found.

§ getCondition()

ConversationCondition getCondition ( )

Condition or null to skip action.

§ getInterval()

float getInterval ( )

Interval to wait before testing the condition again to improve performance.

§ getIteratorActions()

ConversationActionIterator getIteratorActions ( )

Actions to loop while condition is true.

§ getSaveIDForActions()

int getSaveIDForActions ( Array  actions)

For saving determines a unique number to identify the given actions array with or -1 if not found.

§ new()

CActionWait new ( )

Create conversation action.

§ setCondition()

void setCondition ( ConversationCondition  condition)

Set condition or null to skip action.

§ setInterval()

void setInterval ( float  interval)

Set interval to wait before testing the condition again to improve performance.


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