trigger_random_unique

A trigger_random_unique works like a trigger_random where each target fires only once: each
trigger fires one of the targets that haven't fired yet, with the activator of the trigger. Maps from Sven Co-op use
the same name.
Attributes
The entity also has these common keys:
- Naming and triggering: Name
target_countSets how many target slots it picks from, where 0 means up to the last slot you filled.
0target1One of the targets it picks from.
target2One of the targets it picks from.
target3One of the targets it picks from.
target4One of the targets it picks from.
target5One of the targets it picks from.
target6One of the targets it picks from.
target7One of the targets it picks from.
target8One of the targets it picks from.
target9One of the targets it picks from.
target10One of the targets it picks from.
target11One of the targets it picks from.
target12One of the targets it picks from.
target13One of the targets it picks from.
target14One of the targets it picks from.
target15One of the targets it picks from.
target16One of the targets it picks from.
trigger_on_exhaustFires when every target has fired once, with the trigger_random_unique as the activator.
first_targetSets the slot from 1 to 16 that fires first, where 0 picks one at random.
0round_resetWith Yes, the entity goes back to its state at map load at each round start, before the players spawn. See Round hooks for more details.
- No (0)
- Yes (1)
No (0)Flags
1ReusableWhen every target has fired, the targets can fire again. Without this flag, the entity then does nothing
32Not repetitiveThe same target never fires twice in a row, if there are two or more left
64Scheduled orderThe random picks follow a sequence that is fixed when the map starts
Notes
- An empty slot between filled slots can be picked, and then nothing fires
- A target that triggers the same
trigger_random_uniquewhile it fires is ignored
See also
trigger_random- picks a random target, also with timers
Changes since 1.38
trigger_random_uniqueis new

