• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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