Linedef type 327
Linedef type 327, NiGHTS Lap – Each Time, is a type of linedef executor trigger which activates any linedef executor in the control sector once for each time a player starts a new lap on a NiGHTS track.
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_ld327_nightslap_eachtime.wad (MAP01)
- Each time the player pass a lap, the sector in the middle rises 16 units.
How to use |
---|
|