Difference between revisions of "Osiris/API/CharacterKilledBy"

From Divinity Engine Wiki
Jump to: navigation, search
Line 1: Line 1:
 
===== Full Definition(s) =====
 
===== Full Definition(s) =====
 
 
* event '''CharacterKilledBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_Attacker''', ''(CHARACTERGUID)'''''_AttackerOwner''')
 
* event '''CharacterKilledBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_Attacker''', ''(CHARACTERGUID)'''''_AttackerOwner''')
 
===== Description =====
 
===== Description =====
Line 11: Line 10:
 
* '''_AttackerOwner '''can be the same character as '''_Attacker'''; '''_AttackOwner '''will be different in the case of summoned characters.
 
* '''_AttackerOwner '''can be the same character as '''_Attacker'''; '''_AttackOwner '''will be different in the case of summoned characters.
 
===== See Also =====
 
===== See Also =====
 +
* [[Osiris/API/CharacterDie|CharacterDie]]
 +
* [[Osiris/API/CharacterDied|CharacterDied]]
 +
* [[Osiris/API/CharacterDieImmediate|CharacterDieImmediate]]
 
* [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]]
 
* [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]]
 +
* [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]]
 
   
 
   
 
[[Category:Osiris Events]]
 
[[Category:Osiris Events]]

Revision as of 14:11, 4 December 2017

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 the case of summoned characters.
See Also