• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Detect Gold Mine's Amount

Status
Not open for further replies.

sentrywiz

S

sentrywiz

Is there a way to detect a gold mine's gold amount?

I need an event when a gold mine's amount has reached half.
 

sentrywiz

S

sentrywiz

You can check periodically (e.g every 0.05 seconds) if the gold mine has reached half its gold through Integer Comparison ---> Neutral Building - Gold Remaining
Then you check if the gold in the mine is less or equal to (Gold in mine / 2)

Awesome. Thanks +rep
 
Status
Not open for further replies.
Top