First off thank you for everyone here who contributes. I've been kinda getting addicted to the Galaxy Edit and thanks to everyone here it has been a lot easier to learn this stuff than trying to figure it out myself. It is appreciated. My question is: I don't want the players to have actually control over the builders (scv probe etc). I want to make it so the building itself has the list of structures to make and when one is selected a builder spawns from the CCenter or whatever, goes and builds the structure where the player chose, and walk over and disappear back into the CCenter. Is there a simple/convienent way to do this? Is this too much to ask for? :P Anyway thanks a ton in advance. :)
Use triggers (when you activate the build ability from structure) that create scvs [using data editor make them unselectable(optional)/uncommandable], issue order to a location, move to CC when done, remove the unit.
Setting a location would be the only hard part, just experiment with it; or take the easy way out and make your build ability from structure select a target location then issue your SCV to build there.
In that tutorial a unit targets something and in turn a separate unit attacks designated target. If you made the SCV have no collision and unselectable, you could have it hide inside the command center while not in use. Build commands could then be selected by the building and the SCV perform said actions.
The only trigger work would be getting the SCV to return to his original location when idle.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
First off thank you for everyone here who contributes. I've been kinda getting addicted to the Galaxy Edit and thanks to everyone here it has been a lot easier to learn this stuff than trying to figure it out myself. It is appreciated. My question is: I don't want the players to have actually control over the builders (scv probe etc). I want to make it so the building itself has the list of structures to make and when one is selected a builder spawns from the CCenter or whatever, goes and builds the structure where the player chose, and walk over and disappear back into the CCenter. Is there a simple/convienent way to do this? Is this too much to ask for? :P Anyway thanks a ton in advance. :)
Use triggers (when you activate the build ability from structure) that create scvs [using data editor make them unselectable(optional)/uncommandable], issue order to a location, move to CC when done, remove the unit.
Setting a location would be the only hard part, just experiment with it; or take the easy way out and make your build ability from structure select a target location then issue your SCV to build there.
I've been kinda ignoring the triggers but i guess its about time i try to learn them. Thanks much. :D
You might also be able to find a way using this tutorial and using the data editor primarily.
http://forums.sc2mapster.com/development/tutorials/3169-video-data-unit-ability-ordering-another-unit-to-attack/
In that tutorial a unit targets something and in turn a separate unit attacks designated target. If you made the SCV have no collision and unselectable, you could have it hide inside the command center while not in use. Build commands could then be selected by the building and the SCV perform said actions.
The only trigger work would be getting the SCV to return to his original location when idle.