Linedef type 306, Character Ability – Each Time, is a type of linedef executor trigger which activates any linedef executor in the control sector once for each time a player with a specific character ability activates a tagged trigger sector.
Setup
The length of the control linedef determines which characters with specific abilities can trigger the linedef executor, as shown in the table below:
Length
|
Ability
|
0-9
|
No ability
|
10-19
|
Thok
|
20-29
|
Flying
|
30-39
|
Gliding and climbing
|
40-49
|
Homing attack
|
50-59
|
Swimming
|
60-69
|
Double jump
|
70-79
|
Floating
|
80-89
|
Floating with slow descent
|
90-99
|
Telekinesis
|
100-109
|
Fall switch
|
110-119
|
Jump boost
|
120-129
|
Air drill
|
130-139
|
Jump-thok
|
140-149
|
Pogo bounce
|
150-159
|
Spin attack
|
If Flag [14] / Bouncy Wall is checked, the trigger will activate once for each time a player enters or exits the trigger sector.
Linedef special info
|
|
Linedef flags
|
[14] Bouncy Wall: Trigger is activated once per entry or exit from the trigger sector.
|
|
Sample
- Example file: ex_ld306_trigger_characterabilityeachtime.wad (MAP01)
- This sample contains three versions of this effect, one each for thok, flying and gliding/climbing.
How to use |
---|
- You may load this file into your favorite map editor, such as Zone Builder. Select
MAP01 as the map to load.
- You may also load this file in the game:
- Save
ex_ld306_trigger_characterabilityeachtime.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld306_trigger_characterabilityeachtime.wad .
- Start the game in Single Player mode.
- Press the Console button (
~ ), and type in the command MAP MAP01 to access the example map.
- When you load this file in the game, it replaces Greenflower Zone Act 1.
|