Difference between revisions of "Osiris/Shared/DB KillCounter"
From Divinity Engine Wiki
(Documented DB_KillCounter) |
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_DeadEvent|DB_DeadEvent]] | ||
+ | * Helper [[Osiris/Shared/DB_KilledEvent|DB_KilledEvent]] | ||
[[Category:Osiris Shared Mod Helpers|KillCounter]] | [[Category:Osiris Shared Mod Helpers|KillCounter]] |
Revision as of 16:25, 10 January 2018
Full Definition(s)
- DB_KillCounter_Internal((CHARACTERGUID)_Character, (STRING)_CounterName)
- DB_KillCounter((STRING)_CounterName, (INTEGER)_Count)
- PROC ReactOnKillCounter((STRING)_CounterName)
Description
If you define _Count number of DB_KillCounter_Internal facts for different characters with the same _CounterName as in the DB_KillCounterFact definition, then the PROC ReactOnKillCounter will be called with _CounterName as parameter once all of those characters are dead.
Notes
- /