Heey!
I´m making a trigger that at the start of the game there is a chance to spawn different chest at different regions, but it only spawns 1 of the regions!
This is the trigger for the first spawn, have the same trigger with the other spawn just a different region.
Thanks in advance!
I´m making a trigger that at the start of the game there is a chance to spawn different chest at different regions, but it only spawns 1 of the regions!
This is the trigger for the first spawn, have the same trigger with the other spawn just a different region.
-
Spawn Chest 1
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


-------- Spawn 1 --------
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Random integer number between 1 and 5) Equal to 1
-
-



Then - Actions
-




Unit - Create 1 Chest Glove for Neutral Hostile at (Center of Chest Spawn 1 <gen>) facing ((Center of Chest Spawn 1 <gen>) offset by 256.00 towards 288.90 degrees)
-
-



Else - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Random integer number between 1 and 5) Equal to 2
-
-





Then - Actions
-






Unit - Create 1 Chest Glove for Neutral Hostile at (Center of Chest Spawn 1 <gen>) facing ((Center of Chest Spawn 1 <gen>) offset by 256.00 towards 288.90 degrees)
-
-





Else - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Random integer number between 1 and 5) Equal to 3
-
-







Then - Actions
-








Unit - Create 1 Chest Glove for Neutral Hostile at (Center of Chest Spawn 1 <gen>) facing ((Center of Chest Spawn 1 <gen>) offset by 256.00 towards 288.90 degrees)
-
-







Else - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










(Random integer number between 1 and 5) Equal to 4
-
-









Then - Actions
-










Unit - Create 1 Chest Glove for Neutral Hostile at (Center of Chest Spawn 1 <gen>) facing ((Center of Chest Spawn 1 <gen>) offset by 256.00 towards 288.90 degrees)
-
-









Else - Actions
-










If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-











If - Conditions
-












(Random integer number between 1 and 5) Equal to 5
-
-











Then - Actions
-












Unit - Create 1 Chest Glove for Neutral Hostile at (Center of Chest Spawn 2 <gen>) facing ((Center of Chest Spawn 2 <gen>) offset by 0.00 towards 132.39 degrees)
-
-











Else - Actions
-
-
-
-
-
-
-
-
-
-
-
Thanks in advance!
Last edited:



