Osiris/Shared/DB KilledEvent: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(formatting fix)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* '''DB_DeadEvent'''(''(CHARACTERGUID)'''''_Npc,'''''(STRING)'''''_Event''')
* '''DB_KilledEvent'''(''(CHARACTERGUID)'''''_Npc,'''''(STRING)'''''_Event''')
 
===== Description =====
===== Description =====
Sets user flag '''_Event''' a player (or a player's summon) controlled by that player kills '''_NPC''', or was hostile and in combat with '''_NPC''' when they died.
Sets the user flag '''_Event''' on a [[Osiris/API/CharacterGetReservedUserID|user]]'s characters when a player character or summon controlled by that user kills '''_NPC''', or was hostile and in combat with '''_NPC''' when they died.
===== Notes =====
===== Notes =====
* /
* /
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterDied|CharacterDied]]
* [[Osiris/API/CharacterDying|CharacterDying]]
* [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]]
* Helper [[Osiris/Shared/DB_Dead|DB_Dead]]
* Helper [[Osiris/Shared/DB_DeadEvent|DB_DeadEvent]]
* Helper [[Osiris/Shared/DB_DeadEvent|DB_DeadEvent]]
* Helper [[Osiris/Shared/DB_KillCounter|DB_KillCounter]]
   
   
[[Category:Osiris Shared Mod Helpers]]
[[Category:Osiris Shared Mod Helpers|KilledEvent]]

Latest revision as of 12:18, 13 July 2018

Full Definition(s)
  • DB_KilledEvent((CHARACTERGUID)_Npc,(STRING)_Event)
Description

Sets the user flag _Event on a user's characters when a player character or summon controlled by that user kills _NPC, or was hostile and in combat with _NPC when they died.

Notes
  • /
See Also