Trigger combination assign

Trigger combination assign

Classname: trigger_combination_assign
Purpose: Complex devices
H2 Code: triggers.hc
This trigger will pass its "mangle" field to its target which is meant to be an ordered trigger_counter. Its purpose is assign a new combination to the counter. It will pass the "mangle" value but not USE the counter. It WILL use other targets normally, however, and behave just like any other trigger for those. It does not use the netname field

Fields

target Value is a name; targetted trigger_counter gets the entity's mangle-value (but doesn't fire).
targetname Value is a name, entity transfers mangle-value to its target when triggered.
mangle Value is a sequence of numbers, (such as "3 5 6"), which becomes the targetted trigger_counter's mangle-value when the trigger_comtination_assign fires.
wait Value is a number, value of -1 is supposed to allow the entity to fire only once (All the trigger_combination_assign entities in the Raven maps (only egypt2) have wait = -1, but I haven't actually experimented with it.)
spawnflags A rather full set are listed in the hcode, but none are used in the Raven maps, and I haven't played with them.

Back to the list.