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

[General] How to set AI to mine like how they do in campaign

Status
Not open for further replies.
Level 5
Joined
Jun 13, 2015
Messages
129
Hey! So basically I need help in knowing how do I set the AI worker units to only mine 1 gold from the gold mine and yet still return 10 gold, similar to the blizz campaigns. I think I saw in before in the gameplay constant once or maybe i was hallucinating.

Would greatly appreciate help!
 

Jampion

Code Reviewer
Level 15
Joined
Mar 25, 2016
Messages
1,327
You can set "slow harvesting" in the AI editor. This makes them only return one gold though. I am not sure if you can make them return 10 gold. In my campagin I use a system to detect, when a player gains resources and give it additional ressources.
 
Status
Not open for further replies.
Top