Linedef type 451
Linedef type 451, Execute Linedef Executor (Random Range), is a type of linedef executor which, when triggered, randomly activates one trigger linedef from a range of tags. This is useful for creating randomized effect sequences and loops.
The tag given to this linedef is irrelevant. The lower bound of the range is determined by the control linedef's front texture X offset, while the upper bound is determined by the front texture Y offset. The game will then choose a random tag from this range and call the linedef executor trigger (the actual trigger linedef, not its control sector) with that tag. Note that this effect only works when tagged to either a Once or a Continuous trigger; it will not work if tagged to an Each Time trigger.
- Example file: ex_ld451_executelinedefexecutorrandomrange.wad (MAP01)
- Pressing the red button will randomly play one of the following sounds:
|How to use|