Script/QuestJournal

From SF3
Revision as of 13:17, 26 October 2016 by Dave (talk | contribs) (Created page with "==class QuestJournal== Provides an interface to interact with the player's quest journal, access quest states, etc. === Class Methods === {| border='0' style ='border:solid...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

class QuestJournal

Provides an interface to interact with the player's quest journal, access quest states, etc.

Class Methods

bool IsQuestActive (const string&in _sQuestName) const
is the given quest currently active (i.e. in the player's journal)
bool ActivateQuest (const string&in _sQuestName, const bool _bActive = true)
activate or deactivate the given quest (start/cancel the quest)
EQuestState GetQuestState (const string&in _sQuestName) const
get current state of the given quest
EQuestState SetQuestState (const string&in _sQuestName, const EQuestState _State)
set the state of the given quest
bool IsTaskActive (const string&in _sQuestName, const string&in _sTaskName) const
is the given task currently active?
bool ActivateTask (const string&in _sQuestName, const string&in _sTaskName, const bool _bActive = true)
activate or deactivate the given task
EQuestState GetTaskState (const string&in _sQuestName, const string&in _sTaskName) const
get current state of the given task
EQuestState SetTaskState (const string&in _sQuestName, const string&in _sTaskName, const EQuestState _State)
set the state of the given task

class QuestJournal

Provides an interface to interact with the player's quest journal, access quest states, etc.

Class Methods

bool IsQuestActive (const string&in _sQuestName) const
is the given quest currently active (i.e. in the player's journal)
bool ActivateQuest (const string&in _sQuestName, const bool _bActive = true)
activate or deactivate the given quest (start/cancel the quest)
EQuestState GetQuestState (const string&in _sQuestName) const
get current state of the given quest
EQuestState SetQuestState (const string&in _sQuestName, const EQuestState _State)
set the state of the given quest
bool IsTaskActive (const string&in _sQuestName, const string&in _sTaskName) const
is the given task currently active?
bool ActivateTask (const string&in _sQuestName, const string&in _sTaskName, const bool _bActive = true)
activate or deactivate the given task
EQuestState GetTaskState (const string&in _sQuestName, const string&in _sTaskName) const
get current state of the given task
EQuestState SetTaskState (const string&in _sQuestName, const string&in _sTaskName, const EQuestState _State)
set the state of the given task