Difference between revisions of "Osiris/API/ObjectLeftCombat"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
===== Parameters =====
 
===== Parameters =====
 
* '''_Object''': The object that has left the combat
 
* '''_Object''': The object that has left the combat
* '''_CombatID''': A handle that identifies the combat. Should always be > 0.
+
* '''_CombatID''': A handle that identifies the combat. Should always be > 0.
 
===== Notes =====
 
===== Notes =====
 
* Reasons why objects may leave combat include the fact that they died/were destroyed, because they got too far from the other participants, or because story forced them to leave.
 
* Reasons why objects may leave combat include the fact that they died/were destroyed, because they got too far from the other participants, or because story forced them to leave.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/CombatStarted|CombatStarted]]
 
* [[Osiris/API/CombatStarted|CombatStarted]]
 +
* [[Osiris/API/LeaveCombat|LeaveCombat]]
 
* [[Osiris/API/ObjectEnteredCombat|ObjectEnteredCombat]]
 
* [[Osiris/API/ObjectEnteredCombat|ObjectEnteredCombat]]
+
* Helper [[Osiris/Shared/DB_CombatCharacters|DB_CombatCharacters]]
[[Category:Osiris Events]]
+
* Helper [[Osiris/Shared/DB_WasInCombat|DB_WasInCombat]]
 +
 
 +
[[Category:Osiris Events|ObjectLeftCombat]]

Latest revision as of 16:15, 19 December 2017

Full Definition(s)
  • event ObjectLeftCombat((GUIDSTRING)_Object, (INTEGER)_CombatID)
Description

Thrown when an object (character or item) leaves a combat.

Parameters
  • _Object: The object that has left the combat
  • _CombatID: A handle that identifies the combat. Should always be > 0.
Notes
  • Reasons why objects may leave combat include the fact that they died/were destroyed, because they got too far from the other participants, or because story forced them to leave.
See Also