Removing sold heroes from a tavern

Lumograph090

New Member
Reaction score
22
Trigger:
  • Sold Heroes
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Selling unit)) Equal to (==) Summoning Stone
    • Actions
      • Neutral Building - Remove (Unit-type of (Sold unit)) from all marketplaces
      • Hero - Create Health Stone and give it to (Sold unit)
      • Hero - Create Mana Stone and give it to (Sold unit)


Why is this not working? :confused:
 

worldofDeath

New Member
Reaction score
47
This should help you out.

Trigger:
  • Player Group - Pick every player in Players and do (Actions)
    • Loop - Actions
      • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)


This should work out better then what you have let me know..


Hope this helps!
 

Lumograph090

New Member
Reaction score
22
Is your summoning stone classified as a marketplace?

I would assume it is, my building is based off of the Tavern, but perhaps they are not classified as a marketplace.

I'll check that out, as well as try the other persons suggestion. Thanks to you both.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Wow that will do absolute nothing because the units arnet trained their sold and the building isnt player owned
 

worldofDeath

New Member
Reaction score
47
You could leave it as a tavern and just add the trigger that I posted just a moment ago. So:

Trigger:
  • Tavern
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
      • Action
        • Quest - Display to (All enemies of (Owner of (Sold unit))) the Hint message: (((Name of (Triggering player)) + has picked) + (Name of (Sold unit)))
        • Player Group - Pick every player in Players and do (Actions)
          • Loop - Actions
            • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)


This should work if the unit sold is a hero. You can change that or del it if you want. But this should work. I have a tavern in my game and it works just fine.

SharkBait87: By the way. Please dont tell me its wrong this isnt a spelling bee. Help him out dont tell me that it wont do anything. When I my self Use it in my map and it seems to work just great. Help him dont post crap that is off topic.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top