Osiris/API/CharacterCriticalHitBy: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* event '''CharacterCriticalHitBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_Attacker''', ''(CHARACTERGUID)'''''_AttackerOwner''')
* event '''CharacterCriticalHitBy'''(''(CHARACTERGUID)'''''_Defender''', ''(CHARACTERGUID)'''''_Attacker''', ''(CHARACTERGUID)'''''_AttackerOwner''')
===== 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.

Revision as of 14:03, 19 December 2017

Full Definition(s)
  • event CharacterCriticalHitBy((CHARACTERGUID)_Defender, (CHARACTERGUID)_Attacker, (CHARACTERGUID)_AttackerOwner)
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.
See Also