As the title says. The concept I am going for is to have Zerg purchased through an infested factory owned by a Terran player and rather than have them default and spawn next to the factory, I'd like them to spawn at a random point in a specified region when training progress is complete and change ownership to player 15 upon doing so.
So far I have figured out a trigger for spawning the units in the region when they complete training, however, where I seem to be stuck is figuring out how to specify that the factory is the only structure that spawns to the region since players will have other structures that operate in the normal fashion. I imagine this is a fairly simple solution but I just can't seem to figure out what is, undoubtedly, right under my nose.
Here is what I have so far.
Events
- Unit - (Triggering unit) training progress is Complete
Conditions
- (Owner of (Triggering unit)) == 1
Actions
- Unit - Move (Triggering unit) instantly to (Random point in Region 1) (No Blend)
- Unit - Change ownership of (Triggering unit) to player 15 and Change color
Hey, thanks. Really appreciate the help. I am having trouble finding "source of trained unit's unit type". I did word searches with no luck. Could you tell me where that is exactly?
Ok, scratch the trigger I wrote out above. Could someone suggest a trigger that they know would work to give the effect I am looking for?
When a unit is created at a factory it spawns a random point in a specified region and changes ownership to player 15 rather than defaulting to spawning right outside the factory.
Ok, you'll have to forgive me if these have obvious answer but I have a couple of questions.
First, wouldn't rally just make the units run to a random point in the region from the structure rather than immediately spawn in the specified region?
And second, when you say "add condition to specify actual building as desired" do you mean to specify the structure that the units will be trained in? I thought that is what you might mean by that but couldn't figure it out. What would that condition look like?
Correct on both cases. If this is not exactly what you want then you need to specify. I find most people asking questions are not nearly as detailed or specific as to what they want, which suchs because you can do so much in the editor.
If you want to spawn to a location immediately after they come out, change the trigger event to completed, remove the order and add the move immediately action that picks a random spot. Better yet i think the best solution is in data; check the campaign for how the barracks spawns using drop pods.
The conditions are to specify again exactly which unit(s) (both training or be trained or building) you want to include/exclude from it.
As the title says. The concept I am going for is to have Zerg purchased through an infested factory owned by a Terran player and rather than have them default and spawn next to the factory, I'd like them to spawn at a random point in a specified region when training progress is complete and change ownership to player 15 upon doing so.
So far I have figured out a trigger for spawning the units in the region when they complete training, however, where I seem to be stuck is figuring out how to specify that the factory is the only structure that spawns to the region since players will have other structures that operate in the normal fashion. I imagine this is a fairly simple solution but I just can't seem to figure out what is, undoubtedly, right under my nose.
Here is what I have so far.
Events
- Unit - (Triggering unit) training progress is Complete
Conditions
- (Owner of (Triggering unit)) == 1
Actions
- Unit - Move (Triggering unit) instantly to (Random point in Region 1) (No Blend)
- Unit - Change ownership of (Triggering unit) to player 15 and Change color
As always, any help would be greatly appreciated.
-muse
@SC2Muse: Go
@SouLCarveRR: Go
Hey, thanks. Really appreciate the help. I am having trouble finding "source of trained unit's unit type". I did word searches with no luck. Could you tell me where that is exactly?
Ok, scratch the trigger I wrote out above. Could someone suggest a trigger that they know would work to give the effect I am looking for?
When a unit is created at a factory it spawns a random point in a specified region and changes ownership to player 15 rather than defaulting to spawning right outside the factory.
@SC2Muse: Go
heres a sample
Add condition to specify actual building as desired.
@SouLCarveRR: Go
The link doesn't seem to work.
@hobbidude: Go
Thanks for the reply.
Ok, you'll have to forgive me if these have obvious answer but I have a couple of questions.
First, wouldn't rally just make the units run to a random point in the region from the structure rather than immediately spawn in the specified region?
And second, when you say "add condition to specify actual building as desired" do you mean to specify the structure that the units will be trained in? I thought that is what you might mean by that but couldn't figure it out. What would that condition look like?
@SC2Muse: Go
Correct on both cases. If this is not exactly what you want then you need to specify. I find most people asking questions are not nearly as detailed or specific as to what they want, which suchs because you can do so much in the editor.
If you want to spawn to a location immediately after they come out, change the trigger event to completed, remove the order and add the move immediately action that picks a random spot. Better yet i think the best solution is in data; check the campaign for how the barracks spawns using drop pods.
The conditions are to specify again exactly which unit(s) (both training or be trained or building) you want to include/exclude from it.
@hobbidude: Go
Thanks for your replies. I finally found a trigger that works for what I am wanting.