Of course the instruction isn't broken - you're just not using it right. :P I do have to admit though, this one did take me a while to get.
Basically, the problem is that because the barracks/starport/factory can move, the build location matters. You're using the 'order with no target' type of order, but that's like telling an SVC to just go 'build a barracks' - in other words, you also have to tell it where by setting the order type to 'order: order targetting point'.
What you want is: Unit - Order Starport [location stuff] to (Starport - Build Tech Lab (Starport) targeting (Position of Starport [location stuff])) (After Existing Orders)
Of course, if you have a specific place you want it to build, you can do that too. Hope that helps!
For some reason, it doesn't work for me...
(Note: This trigger isn't enabled until the Starport has finished building. And yes, that trigger works.)
Starport Build Tech Lab
Events
-Timer - Every 2.0 seconds of Game Time
Local Variables
Conditions
- (Player 2 Minerals) >= 50
- (Player 2 Vespene) >= 25
Actions
- Trigger - Turn (Current trigger) Off
- UI - Display "Building Starport Tech Lab" for (All players) to Subtitle area
- Unit - Order Starport to ( Build Tech Lab (Starport)) (Replace Existing Orders)
Starport is a variable that is set to the built Starport as soon as it has finished building.
What is the proper way to force a Starport to build a Tech Lab?
The instruction to build a tech lab has to be broken or something.
Anyone had better luck?
Of course the instruction isn't broken - you're just not using it right. :P I do have to admit though, this one did take me a while to get.
Basically, the problem is that because the barracks/starport/factory can move, the build location matters. You're using the 'order with no target' type of order, but that's like telling an SVC to just go 'build a barracks' - in other words, you also have to tell it where by setting the order type to 'order: order targetting point'.
What you want is: Unit - Order Starport [location stuff] to (Starport - Build Tech Lab (Starport) targeting (Position of Starport [location stuff])) (After Existing Orders)
Of course, if you have a specific place you want it to build, you can do that too. Hope that helps!
Thanks, that solved it :)