Osiris/Shared/DB KillCounter

From Divinity Engine Wiki
Jump to: navigation, search
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