Linedef type 451
|This article or section should contain one or more samples. Please help the SRB2 Wiki by uploading sample WADs that work with 2.1.|
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 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 WAD: ex_ld451_executelinedefexecutorrandomrange.wad
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.