Linedef type 328
Linedef type 328, NiGHTS Lap – Once, is a type of linedef executor trigger which activates any linedef executor in the control sector when a player starts a new lap on a NiGHTS track. The linedef executor will trigger only the first time, and then will not be triggered again until the map is reloaded.
Setup
The tag given to this linedef is irrelevant. By default, this linedef only triggers on a specified mare and on a specified lap in that mare. The mare is determined by the front X offset of the control linedef and the lap by the front Y offset. If Flag [6] / Not Climbable is set, it triggers only if the current mare is less than or equal to the specified mare. If Flag [1] / Block Enemies is set, it triggers only if the current mare is greater than or equal to the specified mare. If Flag [5] / Slope Skew / Effect 1 is set, it triggers only if the current lap is less than or equal to the specified lap. If Flag [7] / No Midtexture Skew / Effect 2 is set, it triggers only if the current lap is greater than or equal to the specified lap. If Flag [8] / Peg Midtexture / Effect 3 is set, only laps in bonus time are counted in the lap comparison. Note that bonus time laps start counting at 1, while regular laps start counting at 0.
In multiplayer, the "current" mare and lap are those of the player who has advanced the furthest, i.e., the highest reached mare and the highest reached lap on that mare. If Flag [4] / Lower Unpegged is set, they are instead taken from the player who is the furthest behind. If Flag [9] / Solid Midtexture / Effect 4 is set, they are taken from the player who triggered the linedef executor.
|
Sample
- Example file: Ex_ld328_nightslap_once.wad (MAP01)
- The floor with
GFZFLR01
will rise when the player enters the fourth NiGHTS lap.
How to use |
---|
|