I have a problem with my button switching trigger. It works sorta. But when I click terran command center, then nexus it will mess up the screen and sometimes even remove everything except the 3 switching buttons. I'm not sure what is wrong.
Zergx
Events
UI - Player 1 presses Mutate into Hive
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Zerg[1] == true
Then
Unit - Show the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Zerg[1] = false
Else
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Zerg[1] = true
Terranx
Events
UI - Player 1 presses Build Command Center
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Terran[1] == true
Then
Unit - Show the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Terran[1] = false
Else
Unit - Hide the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Terran[1] = true
Protossx
Events
UI - Player 1 presses Warp In Nexus
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Protoss[1] == true
Then
Unit - Show the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Protoss[1] = false
Else
Unit - Hide the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Protoss[1] = true
I tried something like this too. but the result is about the same.
I click one and it might work. but if I then click another button it start messing everything up.
Zergx 2
Events
UI - Player 1 presses Mutate into Hive
Local Variables
Conditions
Unit[0] == 1
Actions
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Hatchery - Train Queen ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I have a problem with my button switching trigger. It works sorta. But when I click terran command center, then nexus it will mess up the screen and sometimes even remove everything except the 3 switching buttons. I'm not sure what is wrong.
Global Variables:
Zerg = false <Boolean[2]>
Protoss = false <Boolean[2]>
Terran = false <Boolean[2]>
Zergx
Events
UI - Player 1 presses Mutate into Hive
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Zerg[1] == true
Then
Unit - Show the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Zerg[1] = false
Else
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Zerg[1] = true
Terranx
Events
UI - Player 1 presses Build Command Center
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Terran[1] == true
Then
Unit - Show the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Terran[1] = false
Else
Unit - Hide the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Terran[1] = true
Protossx
Events
UI - Player 1 presses Warp In Nexus
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
Protoss[1] == true
Then
Unit - Show the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Protoss[1] = false
Else
Unit - Hide the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Variable - Set Protoss[1] = true
@theystolemynick:
Bump :)
I tried something like this too. but the result is about the same.
I click one and it might work. but if I then click another button it start messing everything up.
Zergx 2
Events
UI - Player 1 presses Mutate into Hive
Local Variables
Conditions
Unit[0] == 1
Actions
Unit - Hide the Starport - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Factory - Train (Factory) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Gateway - Train (Gateway) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Robotics Facility - Train (Robotics Facility) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Stargate - Train (Stargate) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Hide the Barracks - Train ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Larva - Morph Unit (Larva -> Basic) ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Hatchery - Train Queen ability for 8WAY Warp Point [44.00, 14.00]
Unit - Show the Corruptor - Morph (Corruptor - > Brood Lord) ability for 8WAY Warp Point [44.00, 14.00]