Drag[en]gine Script Module DragonScript Script API  1.0
CActionGameCommand Class Reference
Inheritance diagram for CActionGameCommand:

Public Member Functions

void execute (ConversationPlayback playback)
String getCommand ()
CActionGameCommand new ()
void setCommand (String command)
- 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 sending a command to the game, The command is a single text string parsed by the conversation script into an array of arguments and then send to the conversation playback subclass. The format of the command is game specific. It is the responsibility of the game to handle invalid or unknown commands.

Roland Pl├╝ss

Member Function Documentation

§ execute()

void execute ( ConversationPlayback  playback)

Execute the action.

§ getCommand()

String getCommand ( )

Retrieves the command to send.

§ new()

Create a new conversation action.

§ setCommand()

void setCommand ( String  command)

Sets the command to send.

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