Osiris/API/CharacterKilledBy: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 11: Line 11:
* Compared to similar calls such as [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]] and [[Osiris/API/CharacterCriticalHitBy|CharacterCriticalHitBy]], the order of the '''_Attacker''' and '''_AttackerOwner''' parameters is inverted for this event (even tough the story header may say otherwise). This will be changed/fixed in a future version.
* Compared to similar calls such as [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]] and [[Osiris/API/CharacterCriticalHitBy|CharacterCriticalHitBy]], the order of the '''_Attacker''' and '''_AttackerOwner''' parameters is inverted for this event (even tough the story header may say otherwise). This will be changed/fixed in a future version.
===== See Also =====
===== See Also =====
* [[Osiris/API/AttackedByObject|AttackedByObject]]
* [[Osiris/API/CharacterDie|CharacterDie]]
* [[Osiris/API/CharacterDie|CharacterDie]]
* [[Osiris/API/CharacterDied|CharacterDied]]
* [[Osiris/API/CharacterDied|CharacterDied]]
Line 17: Line 18:
* [[Osiris/API/CharacterCriticalHitBy|CharacterCriticalHitBy]]
* [[Osiris/API/CharacterCriticalHitBy|CharacterCriticalHitBy]]
* [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]]  
* [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]]  
* [[Osiris/API/CharacterMissedBy|CharacterMissedBy]]


[[Category:Osiris Events|CharacterKilledBy]]
[[Category:Osiris Events|CharacterKilledBy]]

Revision as of 12:53, 25 February 2018

Full Definition(s)
  • event CharacterKilledBy((CHARACTERGUID)_Defender, (CHARACTERGUID)_Attacker, (CHARACTERGUID)_AttackerOwner)
Description
  • Thrown when a character is killed by another character.
Parameters
  • _Defender: The character that was killed.
  • _Attacker: The character that killed _Defender.
  • _AttackerOwner: The character that owns the _Attacker character.
Notes
  • _AttackerOwner can be the same character as _Attacker; _AttackOwner will be different in case of summoned characters.
  • Compared to similar calls such as CharacterBlockedBy and CharacterCriticalHitBy, the order of the _Attacker and _AttackerOwner parameters is inverted for this event (even tough the story header may say otherwise). This will be changed/fixed in a future version.
See Also