Osiris/API/CombatStarted
From Divinity Engine Wiki
Full Definition(s)
- event CombatStarted((INTEGER)_CombatID)
Description
Thrown once a new combat has started and has been completely initialised. I.e., all initial participants have been added, and combat is ready to start.
Parameters
- _CombatID: A handle that identifies the combat. Should always be > 0.
Notes
- This event can also be thrown for an ongoing combat after one or more participants left. In this case, first a new ObjectEnteredCombat event will be thrown for every participant still in the combat, followed by a new CombatStartedEvent with the same _CombatID as before. During these new ObjectEventeredCombat events and CombatStarted event, the combat must again be considered to be not completely initialised yet.
- This event will also be thrown when two combats are merged.