• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

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: 27
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