• 🏆 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!

How to every second auto train the unit?

Status
Not open for further replies.
Level 16
Joined
Jan 31, 2009
Messages
1,792
What he means is:
Every 1 second it'll execute these commands:
-Check if theres more than one producing building; barrack, etc.
-Check if you have the amount of gold needed for the units inside the building; footman,knight,etc.
Then it'll execute the actions:
Make the selected buildings create the type of unit you want.
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
@light bolt30

thanks man...

@GangSpear

Basically you cannot really train every 1 seconds coz there is a time (20 secs i think) for the footman to finish training, but you can go to object editor to adjust the 20 secs to 1sec (sorry forgot what it is), so the footman can be trained within 1 sec, you may also adjust the Gold/Lumber/Food in the object editor also...then you can do the trigger that i mentioned...

@MortAr

Yes, its only an option
 
Last edited:
Status
Not open for further replies.
Top