Difference between revisions of "Osiris/Shared/DB CombatCharacters"

From Divinity Engine Wiki
Jump to: navigation, search
m (Tinkerer moved page DB CombatCharacters to Osiris/Shared/DB CombatCharacters: wrong prefix)
m
Line 2: Line 2:
 
* '''DB_CombatCharacters('''''(CHARACTERGUID)'''''_Char,'''''(INTEGER)'''''_ID''')
 
* '''DB_CombatCharacters('''''(CHARACTERGUID)'''''_Char,'''''(INTEGER)'''''_ID''')
 
* '''DB_WasInCombat('''''(CHARACTERGUID)'''''_Char,'''''(INTEGER)'''''_ID''')
 
* '''DB_WasInCombat('''''(CHARACTERGUID)'''''_Char,'''''(INTEGER)'''''_ID''')
===== Description ====
+
===== Description =====
 
Whenever a character [[Osiris/API/ObjectEnteredCombat|enters]] a combat, the a corresponding '''DB_CombatCharacters''' entry is defined that contains the character '''_Char''' and the '''_ID''' of the combat. Entering a combat will also clear any previous '''DB_CombatCharacters''' and '''DB_WasInCombat''' entries for this character.
 
Whenever a character [[Osiris/API/ObjectEnteredCombat|enters]] a combat, the a corresponding '''DB_CombatCharacters''' entry is defined that contains the character '''_Char''' and the '''_ID''' of the combat. Entering a combat will also clear any previous '''DB_CombatCharacters''' and '''DB_WasInCombat''' entries for this character.
  

Revision as of 22:09, 14 September 2017

Full Definition(s)
  • DB_CombatCharacters((CHARACTERGUID)_Char,(INTEGER)_ID)
  • DB_WasInCombat((CHARACTERGUID)_Char,(INTEGER)_ID)
Description

Whenever a character enters a combat, the a corresponding DB_CombatCharacters entry is defined that contains the character _Char and the _ID of the combat. Entering a combat will also clear any previous DB_CombatCharacters and DB_WasInCombat entries for this character.

Whenever a combat leaves a combat, a DB_WasInCombat entry is defined that contains the character _Char and the _ID of the combat

Notes
  • /
See Also