Difference between revisions of "Osiris/API/CharacterCriticalHitBy"
From Divinity Engine Wiki
m |
m (Fixed order of _Attacker and _AttackerOwner parameters) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * event '''CharacterCriticalHitBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)''''' | + | * event '''CharacterCriticalHitBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_AttackerOwner''', ''(CHARACTERGUID)'''''_Attacker''') |
===== Description ===== | ===== Description ===== | ||
* Thrown when a character receives a critical hit from an attack of another character. | * Thrown when a character receives a critical hit from an attack of another character. | ||
Line 13: | Line 13: | ||
* [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]] | * [[Osiris/API/CharacterBlockedBy|CharacterBlockedBy]] | ||
* [[Osiris/API/CharacterKilledBy|CharacterKilledBy]] | * [[Osiris/API/CharacterKilledBy|CharacterKilledBy]] | ||
− | |||
* [[Osiris/API/CharacterMissedBy|CharacterMissedBy]] | * [[Osiris/API/CharacterMissedBy|CharacterMissedBy]] | ||
+ | * [[Osiris/API/CharacterTemplateKilledByCharacter|CharacterTemplateKilledByCharacter]] | ||
[[Category:Osiris Events|CharacterCriticalHitBy]] | [[Category:Osiris Events|CharacterCriticalHitBy]] |
Latest revision as of 12:58, 8 October 2018
Full Definition(s)
- event CharacterCriticalHitBy((CHARACTERGUID)_Defender, (CHARACTERGUID)_AttackerOwner, (CHARACTERGUID)_Attacker)
Description
- Thrown when a character receives a critical hit from an attack of another character.
Parameters
- _Defender: The character that received/defended the attack.
- _Attacker: The character that attacked the _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.