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

Public Member Functions

bool evaluate (ConversationPlayback playback)
String getCommand ()
bool getNegate ()
CConditionGameCommand new ()
void setCommand (String command)
void setNegate (bool negate)
- Public Member Functions inherited from ConversationCondition
bool evaluate (ConversationPlayback playback)
ConversationCondition new ()

Detailed Description

Conversation condition using the value returned by a command send 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. The format of the command depends on the game. The command returns a boolean value use directly as condition result.

Roland Pl├╝ss

Member Function Documentation

bool evaluate ( ConversationPlayback  playback)

Determines if the condition is true.

String getCommand ( )

Retrieves the command to send.

bool getNegate ( )

Determines if the result of the condition is negated.

Create a new conversation action.

void setCommand ( String  command)

Sets the command to send.

void setNegate ( bool  negate)

Sets if the result of the condition is negated.

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