HeroWars Style: Upgrade Troops Problem

Jack.K

New Member
Reaction score
1
EDIT: Fixed myself. I changed Run trigger to Turn Trigger On :D

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
 

Jack.K

New Member
Reaction score
1
I've just realised I put run trigger. That means it would only go once? So if i change it to: Turn Attack On it should work?

Hopefully

EDIT: WOOHOO fixed my own problem W00T
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top