• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Transferring gold from a gold mine to another gold mine

Status
Not open for further replies.
Level 2
Joined
Mar 24, 2015
Messages
14
I want to make a map where I have workers mine gold from a gold mine and bring it to a storage. And then I would use a different worker type to take the gold from the storage and return it to a town hall. If it helps I found a map from user DragoonZombie that makes gold mines not explode when they run out of gold.
 

Attachments

  • 0GoldGoldmine.w3x
    15.1 KB · Views: 28
Level 5
Joined
Aug 8, 2019
Messages
113
Hello

I would attempt to do this by first setting up a trigger that detects how much gold is in the mine (Neutral building - Gold remaining), then sets that gold to either 0 and destroy the mine or set the gold of the original mine to very low integer, than adds the remaining gold to the new gold mine. I don't believe this is very hard to do, just use (Neutral Building add X gold to gold Mine)
 
Status
Not open for further replies.
Top