Hello, Hive members, I would to know from some experts if this GUI trigger snippet leaks in any way. I am aware locations (using regions) leak, so I wondered if assigning them to variables would 'fix' the problem (without the need for the call RemoveLocation script). The locations/points are intended to be static for the entirety of the gameplay.
-
Lane Spawns Trigger
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Countdown Timer - Start Lane_Spawn_Timer as a Repeating timer that will expire in 35.00 seconds
-
Set VariableSet Razormane_Bot_Corner = (Center of Razormane Bot Corner <gen>)
-
Set VariableSet Razormane_Top_Corner = (Center of Razormane Top Corner <gen>)
-
Set VariableSet Hooktusk_Bot_Corner = (Center of Hooktusk Bot Corner <gen>)
-
Set VariableSet Hooktusk_Top_Corner = (Center of Hooktusk Top Corner <gen>)
-
Set VariableSet Razormane_Top_Spawn_Location = (Center of Razormane Top Spawn <gen>)
-
Set VariableSet Razormane_Bot_Spawn_Location = (Center of Razormane Bot Spawn <gen>)
-
Set VariableSet Hooktusk_Bot_Spawn_Location = (Center of Hooktusk Bot Spawn <gen>)
-
Set VariableSet Hooktusk_Top_Spawn_Location = (Center of Hooktusk Top Spawn <gen>)
-
-
-
Lane Spawns
-
Events
-
Time - Lane_Spawn_Timer expires
-
-
Conditions
-
Actions
-
Unit - Create 4 Razormane Soldier (Custom) for Player 1 (Red) at Razormane_Top_Spawn_Location facing 90.00 degrees
-
Unit - Create 4 Razormane Soldier (Custom) for Player 1 (Red) at Razormane_Bot_Spawn_Location facing 0.00 degrees
-
Unit - Create 4 Hooktusk Soldier (Custom) for Player 2 (Blue) at Hooktusk_Top_Spawn_Location facing 180.00 degrees
-
Unit - Create 4 Hooktusk Soldier (Custom) for Player 2 (Blue) at Hooktusk_Bot_Spawn_Location facing 270.00 degrees
-
-