EDIT: Fixed myself. I changed Run trigger to Turn Trigger On
Hello, I've looked at this website for help for years and I have finally decided to register here. I have been making maps for quite a while now as well. I have worked out most of my trigger problems myself but this one I can't get my head round. Its the Upgrade Troops function in herowars, where plays buy it and their troops change.
I thought i had got this trigger sorted with this code:
-Event:
Unit - Tent 0074 <gen> Finishes training a unit
-Condition:
(Unit-Type of (Trained Unit)) Equal to Spawn Wave of Bandits
-Actions:
Trigger - Run Attack <gen> (Checking Conditions)
Trigger - Run Time <gen> (Checking Conditions)
Unit - Remove (trained unit) from the game.
Then I move onto the simple: Every 2 secs spawn 1 Bandit and order attack move to center of Dwarf Spawn..
I created a unit called Spawn Wave of Bandits for the player to click on. However when i click it only summons one of the units.
Thanks in advance
Hello, I've looked at this website for help for years and I have finally decided to register here. I have been making maps for quite a while now as well. I have worked out most of my trigger problems myself but this one I can't get my head round. Its the Upgrade Troops function in herowars, where plays buy it and their troops change.
I thought i had got this trigger sorted with this code:
-Event:
Unit - Tent 0074 <gen> Finishes training a unit
-Condition:
(Unit-Type of (Trained Unit)) Equal to Spawn Wave of Bandits
-Actions:
Trigger - Run Attack <gen> (Checking Conditions)
Trigger - Run Time <gen> (Checking Conditions)
Unit - Remove (trained unit) from the game.
Then I move onto the simple: Every 2 secs spawn 1 Bandit and order attack move to center of Dwarf Spawn..
I created a unit called Spawn Wave of Bandits for the player to click on. However when i click it only summons one of the units.
Thanks in advance