Difference between revisions of "Osiris/Shared/DB KillCounter"
From Divinity Engine Wiki
m |
(Correction) |
||
Line 4: | Line 4: | ||
* PROC '''ReactOnKillCounter'''(''(STRING)'''''_CounterName''') | * PROC '''ReactOnKillCounter'''(''(STRING)'''''_CounterName''') | ||
===== Description ===== | ===== 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 ===== | ===== Notes ===== | ||
* / | * / |
Revision as of 16:29, 10 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
- /