Difference between revisions of "Osiris/Shared/DB KillCounter"

From Divinity Engine Wiki
Jump to: navigation, search
(Correction)
m
 
Line 11: Line 11:
 
* [[Osiris/API/CharacterDying|CharacterDying]]
 
* [[Osiris/API/CharacterDying|CharacterDying]]
 
* [[Osiris/API/CharacterKilledByCharacter|CharacterKilledByCharacter]]
 
* [[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_KilledEvent|DB_KilledEvent]]
 
* Helper [[Osiris/Shared/DB_KilledEvent|DB_KilledEvent]]
  
 
[[Category:Osiris Shared Mod Helpers|KillCounter]]
 
[[Category:Osiris Shared Mod Helpers|KillCounter]]

Latest revision as of 21:47, 14 January 2018

Full Definition(s)
  • DB_KillCounter_Internal((CHARACTERGUID)_Character, (STRING)_CounterName)
  • DB_KillCounter((STRING)_CounterName, (INTEGER)_Count)
  • PROC ReactOnKillCounter((STRING)_CounterName)
Description

You can define any number of DB_KillCounter_Internal facts for different characters with a particular _CounterName. Once _Count number of these characters have been killed, as defined by a DB_KillCounter fact with the same _CounterName, then the PROC ReactOnKillCounter will be called with _CounterName as parameter.

Notes
  • /
See Also