Is there a way to do this without triggers? I have a moving building that can train units and has cargo space. I need the trained units to be sent into the cargo instead of spawning outside of the building.
This is simply done by creating an order trigger than orders the building to load whatever it creates, but this causes the building to stop moving and you can see the produced unit for a split second before its loaded.
You tried the Arm Magazine ability to train the units? I know it combines with the Queue ability maybe it also works with transport for internal magazines?
As you can set the source of the Train ability to the Rally maybe you could set the rally ability to the source unit so they are created in the transport?
Unit is created using ability
-set invulnerable on for created unit
-set opacity to 0 over 0
-Order building to use Load on created unit
-wait .2 seconds
-set invulnerable off
-set opacity to 1 over 0
This way you cant see the unit or hurt it during the 5 milliseconds that its visible before it loads.
I happen to have a testmap for this exact same thing. Its data-only, have a look (units are meant to be inside the bunker only, so they will die at unload)
Is there a way to do this without triggers? I have a moving building that can train units and has cargo space. I need the trained units to be sent into the cargo instead of spawning outside of the building.
This is simply done by creating an order trigger than orders the building to load whatever it creates, but this causes the building to stop moving and you can see the produced unit for a split second before its loaded.
Yes because it issues order when its created, it doenst "Says" where is to be created. I think u have to use triggers to do this.
You tried the Arm Magazine ability to train the units? I know it combines with the Queue ability maybe it also works with transport for internal magazines?
As you can set the source of the Train ability to the Rally maybe you could set the rally ability to the source unit so they are created in the transport?
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
Well i found a "solution"
Unit is created using ability -set invulnerable on for created unit -set opacity to 0 over 0 -Order building to use Load on created unit -wait .2 seconds -set invulnerable off -set opacity to 1 over 0
This way you cant see the unit or hurt it during the 5 milliseconds that its visible before it loads.
I happen to have a testmap for this exact same thing. Its data-only, have a look (units are meant to be inside the bunker only, so they will die at unload)
@Kueken531: Go
Well then
<3