12-Jul-2023
Allows you to set the value of a game_counter and have it trigger if the set value matches the game_counter's target value.
Keyvalues |
OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.
Name targetname : Set name of game_counter_set so other entities can trigger it to set it's target game_counter value. Every trigger use-type works uniformly. Can be kill-targeted.
Target target : Name of game_counter to set the value.
Delay Before Trigger delay : Delay before trigger entity specified in "Target".
Kill Target killtarget : Entity to remove when value is set.
Master master : Name of the multisource entity that (temporary) locks this game_counter_set. If master is specified the game_counter_set will be disabled and won't work. When multisource entity is triggered/being triggering by all possible inputs, the game_counter_set will work again and can set game_counter value. When multisource lost at least one input signal, the entities becomes locked again.
New Value frags : Value to set the game_counter's value to. Note that if the targeted game_counter is set to fire if over the value, it will trigger as well.
1 : Remove On fire : The game_counter_set will be removed from the game after firing.