Osiris/API/CharacterStatusAttempt: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
m (GetStatusTurns does not yet work when the CharacterStatusAttempt event arrives)
 
Line 8: Line 8:
* '''_Causee''': The character or item originally responsible for attempting this status, if available; '''''NULL''''' otherwise.
* '''_Causee''': The character or item originally responsible for attempting this status, if available; '''''NULL''''' otherwise.
===== Notes =====
===== Notes =====
* /
* [[Osiris/API/GetStatusTurns|GetStatusTurns]] does not yet succeed when this event gets thrown. It starts working once the [[Osiris/API/HasActiveStatus|HasActiveStatus]] query succeeds, which is a little after this event get thrown. Once the [[Osiris/API/CharacterStatusApplied|CharacterStatusApplied]] event arrives, it is guaranteed to work.
===== See Also =====
===== See Also =====
* [[Osiris/API/ApplyStatus|ApplyStatus]]
* [[Osiris/API/ApplyStatus|ApplyStatus]]

Latest revision as of 12:25, 26 February 2018

Full Definition(s)
  • event CharacterStatusAttempt((CHARACTERGUID)_Character, (STRING)_Status, (GUIDSTRING)_Causee)
Description

Thrown when a status is being applied to a character, before determining whether the application will be blocked.

Parameters
  • _Character: The character on which the status is attempted.
  • _Status: The attempted status.
  • _Causee: The character or item originally responsible for attempting this status, if available; NULL otherwise.
Notes
See Also