Provides methods to control parts of a quest. More...
Classes | |
class | ConditionalEvent |
Public Member Functions | |
void | SetQuestState (QuestState state) |
Sets the quest to a state. | |
void | SetQuestNodeState (QuestNodeState state) |
Sets the quest node to a state. | |
void | SetQuestCounter (int value) |
Sets a quest counter value. | |
void | IncrementQuestCounter (int value) |
Increments a quest counter value. | |
void | SendToMessageSystem (string message) |
Sends a message to the Message System. | |
void | ShowAlert (string text) |
Shows an alert. | |
void | TryConditionalEvent () |
Checks the conditions of the assigned conditional event. | |
bool | IsConditionMet () |
Checks if the condition event's conditions are met. | |
Properties | |
StringField | questID [get, set] |
StringField | questNodeID [get, set] |
StringField | counterName [get, set] |
ConditionalEvent | conditionalEvent [get, set] |
Provides methods to control parts of a quest.
|
inline |
Increments a quest counter value.
The quest and counter are specified in the questID and counterName properties.
value | Value to increment/decrement by. |
|
inline |
Checks if the condition event's conditions are met.
|
inline |
Sends a message to the Message System.
If the message contains a colon (:), the part after the colon is sent as the parameter. If it contains a second colon, the part after the second colon is sent as a value.
message |
|
inline |
Sets a quest counter value.
The quest and counter are specified in the questID and counterName properties.
value | New value. |
|
inline |
Sets the quest node to a state.
The quest and quest node are specified in the questID and questNodeID properties.
state | New state. |
|
inline |
Sets the quest to a state.
The quest is specified in the questID property.
state | New state. |
|
inline |
Shows an alert.
text | Text to show. |
|
inline |
Checks the conditions of the assigned conditional event.
|
getset |
|
getset |
|
getset |
|
getset |