Trigger counter rest

Trigger counter reset

Classname: trigger_counter_reset
Purpose: Resetting trigger_counter.
H2 Code: triggers.hc
Resets a trigger_counter to start counting again as if it hadn't been used yet. Useful for when you want a counter to count more than once if the counting is or could be interrupted. It will reset the counter but won't USE it. It WILL use other targets normally, however and seemos to otherwise behave just like any other trigger.

Its hcode actually seems to simply call that of trigger_multiple, and at least some of the same fields and spawnflags seem to work (I've tested the field message and the spawnflag 1 = NOTOUCH); in fact I can't figure out why it resets trigger_counters and trigger_multiple doesn't! Anyway, it works on both ordered and unordered trigger_counters.

In the Raven maps it appears only in egypt2, with fields target and targetname, functioning as usual.


Back to the list.