Difference between revisions of "Osiris/API/CharacterKilledBy"
From Divinity Engine Wiki
(Osiris Core APIs) |
m |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | + | * event '''CharacterKilledBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_AttackerOwner''', ''(CHARACTERGUID)'''''_Attacker''') | |
− | * event '''CharacterKilledBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)''''' | ||
===== Description ===== | ===== Description ===== | ||
* Thrown when a character is killed by another character. | * Thrown when a character is killed by another character. | ||
===== Parameters ===== | ===== Parameters ===== | ||
− | * '''_Defender''': The character that | + | * '''_Defender''': The character that was killed. |
− | * '''_Attacker''': The character that | + | * '''_Attacker''': The character that killed '''_Defender'''. |
* '''_AttackerOwner''': The character that owns the '''_Attacker '''character. | * '''_AttackerOwner''': The character that owns the '''_Attacker '''character. | ||
===== Notes ===== | ===== Notes ===== | ||
− | * '''_AttackerOwner '''can be the same character as '''_Attacker''' | + | * '''_AttackerOwner''' can be the same character as '''_Attacker'''; '''_AttackOwner''' will be different in case of summoned characters. |
+ | * The order of the '''_Attacker''' and '''_AttackerOwner''' parameters was originally inverted for this event (even tough the story header may say otherwise). This was fixed in DOS2 Patch 7 and later. | ||
===== See Also ===== | ===== See Also ===== | ||
− | * [[Osiris/API/CharacterBlockedBy]] | + | * [[Osiris/API/AttackedByObject|AttackedByObject]] |
− | + | * [[Osiris/API/CharacterDie|CharacterDie]] | |
− | [[Category:Osiris Events]] | + | * [[Osiris/API/CharacterDied|CharacterDied]] |
+ | * [[Osiris/API/CharacterDieImmediate|CharacterDieImmediate]] | ||
+ | * [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]] | ||
+ | * [[Osiris/API/CharacterCriticalHitBy|CharacterCriticalHitBy]] | ||
+ | * [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]] | ||
+ | * [[Osiris/API/CharacterMissedBy|CharacterMissedBy]] | ||
+ | |||
+ | [[Category:Osiris Events|CharacterKilledBy]] |
Latest revision as of 13:00, 8 October 2018
Full Definition(s)
- event CharacterKilledBy((CHARACTERGUID)_Defender, (CHARACTERGUID)_AttackerOwner, (CHARACTERGUID)_Attacker)
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.
- The order of the _Attacker and _AttackerOwner parameters was originally inverted for this event (even tough the story header may say otherwise). This was fixed in DOS2 Patch 7 and later.