Difference between revisions of "Osiris/API/QuestAdd"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 2: Line 2:
 
* call '''QuestAdd'''(''(CHARACTERGUID)'''''_Character''',''(STRING)'''''_Quest''')
 
* call '''QuestAdd'''(''(CHARACTERGUID)'''''_Character''',''(STRING)'''''_Quest''')
 
===== Description =====
 
===== Description =====
Makes the quest '''_Quest''' active for '''_Character'''. This means that from now on, updates added through [[Osiris/API/QuestUpdate|QuestUpdate]] will appear in this character's journal.
+
Makes the quest '''_Quest''' active for '''_Character'''. This means that from now on, updates for '''_Quest''' added through [[Osiris/API/QuestUpdate|QuestUpdate]] will appear in this character's journal.
 
===== Notes =====
 
===== Notes =====
 
* Preferably do not use this API directly, but use the helpers related to [[Osiris/Shared/DB_QuestDef_Sate|DB_QuestDef_State]] from the Shared mod instead.
 
* Preferably do not use this API directly, but use the helpers related to [[Osiris/Shared/DB_QuestDef_Sate|DB_QuestDef_State]] from the Shared mod instead.

Revision as of 22:14, 9 August 2017

Full Definition(s)
  • call QuestAdd((CHARACTERGUID)_Character,(STRING)_Quest)
Description

Makes the quest _Quest active for _Character. This means that from now on, updates for _Quest added through QuestUpdate will appear in this character's journal.

Notes
  • Preferably do not use this API directly, but use the helpers related to DB_QuestDef_State from the Shared mod instead.
See Also