FlyingZ Triggers
Triggers from FlyingZ maps and missions.

 

 

Definitions
Waypoint off map means the waypoint is located between red and blue lines on map

 

Bridge repair
When a bridge is destroyed an engineer will paradrop and repair it. If the engineer gets killed he will randomly try again.
Note: In single player maps use the closest AI to create the team.

Trigger 1
Name Bridge Dead
Place on map place on bridge
Attached to  
House  
Type 2
Disabled no
Attached Trigger  
 
Event0 31 Bridge destroyed  
 
Action0 80 Reinforcement (team) [at waypoint]... next to hut
Action1 53 Enable Trigger Bridge Reset
Action2 53 Enable Trigger Engineer loop
Action3 54 Disable Trigger Bridge Dead
Team   Taskforce   Script
Name EngineerTeam Engineer 1 Attack waypoint on hut
House Civilian     Jump to line # 1
Waypoint          
Tag          
Transport waypoint close to bridge        
Loadable          
Full          
Cargo plane yes        
Avoid threats          

 

Trigger 2
Name Engineer loop
Place on map place on bridge
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 51 Random delay... 300
 
Action0 80 Reinforcement (team) [at waypoint]... next to hut

Trigger 3

Name Bridge Reset
Place on map  
Attached to hut
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 1 Entered by... 12 Civilian
 
Action0 53 Enable Trigger Bridge Dead
Action1 54 Disable Trigger Engineer loop
Action2 54 Disable Trigger Bridge Reset

Reinforcement by transport
When an Allied Shipyard is built 4 Grizzly's tanks will arrive by Amphibious Transport and attack enemy.
Note: If the taskforce is greater than the transports capacity the transport will not unload.

Owner Player at one of 1-8 / A - H   EX: Player@ G

1-8 are way points
1 = A
2 = B

Trigger
Name GrizReinforce
Place on map  
Attached to  
House  
Type 0
Disabled no
Attached Trigger  
 
Event0 60 TechType Exists GAYARD 
 
Action0 7 Reinforcement (team)... GrizTeam
Team   Taskforce   Script
Name GrizTeam MTNK 4 Move to waypoint on map
House player@? LCRF 1 Gather at enemy  
Waypoint off map     Unload 2
Tag       Attack 1
Transport waypoint          
Loadable          
Full yes        
Cargo plane          
Avoid threats yes        

 

Reinforcements with timer
Each time the mission timer expires 5 tanks will be teleported to the specified waypoint and attack approaching enemies.

Trigger 1
This trigger starts the timer
Name MyTimer
Place on map  
Attached to  
House  
Type 2
Disabled no
Attached Trigger  
 
Event0 8 Any Event  
 
Action0 27 Timer Set...  300
Action1 103 Timer Text  text displayed
Action2 53 Enable Trigger  MakeMyTeam
Action3 54 Disable Trigger MyTimer
Team   Taskforce   Script
Name MyTanks MTNK 5 Do this Area Guard
House player        
Waypoint          
Tag          
Transport waypoint          
Loadable          
Full          
Cargo plane          
Avoid threats          

 

 

 

Trigger 2

This trigger resets the timer trigger and creates the team

Name MakeMyTeam
Place on map  
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 14 Mission Timer Expired  
 
Action0 107 Reinforcement by Chrono...  MyTanks
Action1 55 Create radar event 1
Action2 53 Enable Trigger  MyTimer
Action3 54 Disable Trigger MakeMyTeam

 

Two triggers attached to one object
Attach trigger to a building in FA2 by double clicking on the building and entering the trigger name under “Attached Tag”  

Trigger 1

This trigger gives a building to Player at start position 1

Name Give A
Place on map  
Attached to  
House  
Type 2
Disabled no
Attached Trigger Play Speach
 
Event0 8 Any Event  
 
Action0 14 Change House... 4475 <Player @ A>
Action1 54 Disable Trigger Give A

Trigger 2

Plays the speech “Critical Structure Lost” when the building is destroyed

Name Play Speech
Place on map  
Attached to  
House  
Type 0
Disabled no
Attached Trigger another trigger may be attached
 
Event0 48 Destroyed by anything  
 
Action0 21 Play speech.. EVA_CriticalStrucureLost
Action1 54 Disable Trigger Play Speech

 

Multiple loaded vehicle teams 1
When a derrick is captured send 3 Civilian Nighthawk's with engineers to capture it.

NOTE1: If two loadable units are in the same team one will be loaded onto the other so I developed these alternatives.
NOTE 2: The action "1 Entered by..." works like "48 Destroyed by anything" but a house is required

Trigger 1
This is the start trigger
Name Chopper
Place on map  
Attached to oil derrick
House  
Type 0
Disabled no
Attached Trigger  
 
Event0 48 Destroyed by anything  
 
Action0 53 Enable Trigger Chopper loop
Action1 53 Enable Trigger  Chopper disable
Trigger 3
This trigger stops the loop
Name Chopper Disable
Place on map  
Attached to  
House  
Type 0
Disabled yes
Attached Trigger  
 
Event0 13 Elapsed Time... 6
 
Action0 54 Disable Trigger Chopper loop

Trigger 2

This trigger creates a team every 2 sec

Name Chopper loop
Place on map  
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 13 Elapsed Time... 2
 
Action0 7 Reinforcement (team)... Chopper Team
Team   Taskforce   Script
Name Chopper Team SHAD 1 Move to waypoint next to derrick
House Player Engineer 5 Unload 0
Waypoint off map     Attack enemy building 131143
Tag          
Transport waypoint          
Loadable          
Full yes        
Cargo plane          
Avoid threats yes        

 

 

Storm effects
Lightning and thunder will occur for 200 seconds when an Allied Battle Lab is built.


NOTE: Use a waypoint near center map for action "125 Create Building At..."

Trigger 0
Name Start Storm
Place on map  
Attached to  
House  
Type 0
Disabled no
Attached Trigger  
 
Event0 60 TechType Exists GATECH
 
Action0 53 Enable Trigger  Lightning 1 
Action1 73 Set ambient light... 55
Action2 53 Enable Trigger  Storm off
Trigger 1
Name Lightning 1
Place on map  
Attached to  
House JP
Type 2
Disabled yes
Attached Trigger  
 
Event0 51 Random delay... 20
 
Action0 125 Create Building At... TEMDAYLAMP 
Action1 19 Play sound effect... WeatherIntro
Action2 53 Enable Trigger  Lightning 2
Action3 54 Disable Trigger Lightning 1

Trigger 2

Name Lightning 2
Place on map  
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 13 Elapsed Time... 2
 
Action0 120 Destroy all Buildings of... 13 JP
Action1 53 Enable Trigger Lightning 3
Action2 54 Disable Trigger Lightning 2
Trigger 3
Name Lightning 3
Place on map  
Attached to  
House JP
Type 2
Disabled yes
Attached Trigger  
 
Event0 51 Random delay... 3
 
Action0 125 Create Building At... TEMDAYLAMP 
Action1 19 Play sound effect... WeatherIntro
Action2 53 Enable Trigger Lightning 4
Action3 54 Disable Trigger Lightning 3
Trigger 4
Name Lightning 4
Place on map  
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 13 Elapsed Time... 2
 
Action0 120 Destroy all Buildings of... 13 JP
Action1 53 Enable Trigger Lightning 1
Action2 54 Disable Trigger Lightning 4
Trigger 5
Name Storm off
Place on map  
Attached to  
House  
Type 2
Disabled yes
Attached Trigger  
 
Event0 13 Elapsed Time... 200
 
Action0 54 Disable Trigger Lightning 1
Action1 54 Disable Trigger Lightning 2
Action2 54 Disable Trigger Lightning 3
Action3 54 Disable Trigger Lightning 4
Action4 73 Set ambient light... original level (100)
Action5 120 Destroy all Buildings of... 13 JP
INI editing

Paste in map

[TEMDAYLAMP]
Explosion=none
LightRedTint=3
LightBlueTint=3
LightGreenTint=3
LightIntensity=3
LightVisibility=100000
DamageParticleSystems=none