Linedef type 318
Linedef type 318, Condition Set Trigger - Once, is a type of linedef executor trigger which activates any linedef executor in the control sector if a particular trigger variable set by linedef type 441 has been activated, provided the trigger variable was activated in the same game session beforehand. The linedef executor will trigger only the first time, and then will not be triggered again until the map is reloaded.
Note that this linedef has no effect in netgames, or if gamedata is no longer being saved due to the use of a protected console command (such as
DEVMODE). Due to this, this linedef should not be used to trigger events required for the player to advance.
The front texture X offset determines the number of the trigger variable to check for, ranging from 0 to 31.
- Example WAD: ex_ld318_trigger_conditionsettriggeronce.wad
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.
- Stepping on the red button will activate condition set 1. Afterwards, stepping on the blue button will give the player 100 points.