Hero Summoning problem

Murkatal

New Member
Reaction score
3
hi, I have a slight issue with some custom heroes. I put them into the alters of their respective races, but when i summon them they dont go away, and I can still summon more heroes. I want them to count as a hero so I can only have 1 of them.

Help appreciated :D
 

MagnaGuard

Active Member
Reaction score
49
Make an if then else trigger. Also get a variable, so if Variable = 0, let them get hero, if = 1, dont let them.
 

Murkatal

New Member
Reaction score
3
uhm could you elaborate? i havent touched editor in 3 months im a little foggy as far as triggers go...

is that a condition an event or an action?
 

Ryuu

I am back with Chocolate (:
Reaction score
64
> if Variable = 0, let them get hero, if = 1, dont let them.

You could simply use booleans.
As for your problem, you can remove the buying unit when the hero is sold.

Trigger:
  • Unit - Remove (Buying unit)
 
General chit-chat
Help Users

      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