Difference between revisions of "Osiris/API/QuestAdd"
From Divinity Engine Wiki
m |
|||
(One intermediate revision by the same user not shown) | |||
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. | ||
Line 10: | Line 10: | ||
* Helper [[Osiris/Shared/DB_QuestDef_Sate|DB_QuestDef_State]] | * Helper [[Osiris/Shared/DB_QuestDef_Sate|DB_QuestDef_State]] | ||
− | [[Category:Osiris Calls]] | + | [[Category:Osiris Calls|QuestAdd]] |
Latest revision as of 16:24, 19 December 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.