I've been trying to find a way to make a structure autobuild. I'm using a trigger to do that
Events
Unit - Any Unit training progress is Completed
Local Variables
Conditions
Actions
Unit - Order (Triggering unit) to (Barracks - Train Marine) (Replace Existing Orders)
The problem is, that I will have to do that for every type of unit I will use on this map. How can I make the trigger automatically issue the order for each type of unit?
Or is there a way to do it without using triggers?
Thx for the post. It showed me how to autobuild without using triggers.
But the problem remains that I have to do it for each trainable unit type manually instead of a general autobuild.
Oh well, it's like I have hundred of unit types :P
Sorry I wasn't able to reply. I've been away for the past 2 days. I've taken a look and it works, but I keep getting error messages.
I'll try and see if I can flush out the bugs.
Duuuddeee!!! How did you do all that? At first look I thought it might be simple, but when I tried to debug it I realized how much you've done! Thanks a lot dude!!!! It's a bit out of my league for this.. I'm going to have to sharpen my skills after seeing this xD
I've been trying to find a way to make a structure autobuild. I'm using a trigger to do that
Events
Unit - Any Unit training progress is Completed
Local Variables
Conditions
Actions
Unit - Order (Triggering unit) to (Barracks - Train Marine) (Replace Existing Orders)
The problem is, that I will have to do that for every type of unit I will use on this map. How can I make the trigger automatically issue the order for each type of unit?
Or is there a way to do it without using triggers?
Maybe this post will help you http://forums.sc2mapster.com/resources/tutorials/3641-trigger-data-automatically-train-units/#p3
Thx for the post. It showed me how to autobuild without using triggers.
But the problem remains that I have to do it for each trainable unit type manually instead of a general autobuild.
Oh well, it's like I have hundred of unit types :P
So I did a little experimenting and come to this result. The system works, but there are some minor bugs.
Sorry I wasn't able to reply. I've been away for the past 2 days. I've taken a look and it works, but I keep getting error messages.
I'll try and see if I can flush out the bugs.
Duuuddeee!!! How did you do all that? At first look I thought it might be simple, but when I tried to debug it I realized how much you've done! Thanks a lot dude!!!! It's a bit out of my league for this.. I'm going to have to sharpen my skills after seeing this xD
Just look how the Swarm Host does it. It uses the autocast flags for the Train ability.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg