Osiris/Shared/DB DialogNPCs: Difference between revisions
Jump to navigation
Jump to search
(DB_DialogNPCs/DB_DialogPlayers documented) |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
===== Description ===== | ===== Description ===== | ||
Whenever a [[Osiris/API/DialogStarted|dialog starts]], all NPCs and players involved in this dialog instance '''_Inst''' will be collected in these databases. '''_Slot''' counts separately for players and NPCs from 1 to the number of players resp. NPCs involved in the dialog. | Whenever a [[Osiris/API/DialogStarted|dialog starts]], all NPCs and players involved in this dialog instance '''_Inst''' will be collected in these databases. '''_Slot''' counts separately for players and NPCs from 1 to the number of players resp. NPCs involved in the dialog. | ||
Actors added via [[Osiris/API/DialogAddCharacter|DialogAddCharacter]] and [[Osiris/API/DialogAddCharacterAt|DialogAddCharacterAt]] will also be added to these databases. | |||
===== Notes ===== | ===== Notes ===== | ||
* / | * During the [[Osiris/API/DialogEnded|DialogEnded]] event, this database is still valid. The reason is that it gets removed in '''ZZZ_LastGoal''' story goal, and event handlers in goals get executed in the order corresponding to the [[Osiris_Overview#Rule_Order|alphabetical order of the goal names]]. | ||
===== See Also ===== | ===== See Also ===== | ||
* [[Osiris/API/DialogActorJoined|DialogActorJoined]] | |||
* [[Osiris/API/DialogAddActor|DialogAddActor]] | |||
* [[Osiris/API/DialogAddActorAt|DialogAddActorAt]] | |||
* [[Osiris/API/DialogStarted|DialogStarted]] | * [[Osiris/API/DialogStarted|DialogStarted]] | ||
* [[Osiris/API/DialogRequestFailed|DialogRequestFailed]] | * [[Osiris/API/DialogRequestFailed|DialogRequestFailed]] | ||
* [[Osiris/API/DialogEnded|DialogEnded]] | * [[Osiris/API/DialogEnded|DialogEnded]] | ||
* helper [[Osiris/Shared/DB_DialogName|DB_DialogName]] | |||
[[Category:Osiris Shared Mod Helpers]] | |||
[[Category:Osiris Shared Mod Helpers|DialogNPCs]] |
Latest revision as of 09:08, 6 October 2019
Full Definition(s)
- DB_DialogNPCs((INTEGER)_Inst, (CHARACTERGUID)_Actor, (INTEGER)_Slot)
- DB_DialogPlayers((INTEGER)_Inst, (CHARACTERGUID)_Actor, (INTEGER)_Slot)
Description
Whenever a dialog starts, all NPCs and players involved in this dialog instance _Inst will be collected in these databases. _Slot counts separately for players and NPCs from 1 to the number of players resp. NPCs involved in the dialog.
Actors added via DialogAddCharacter and DialogAddCharacterAt will also be added to these databases.
Notes
- During the DialogEnded event, this database is still valid. The reason is that it gets removed in ZZZ_LastGoal story goal, and event handlers in goals get executed in the order corresponding to the alphabetical order of the goal names.