I'm trying to create an ability that allows a unit to train another unit, but I would like the trained unit to automatically spawn within the trainer's cargo. If it helps, I would like the Hellion and Cyclone to be able to train and transport Widow Mines, but I don't want the Widow Mines to spawn outside of the Hellion or Cyclone. Is this possible, and how should I go about doing it?
There are two options I know of that you can do. The first is sorta working around the actual cargo hold ability and simply doing what the Vulture does with its Spider Mine ability: when you want to place down a spider mine you have 3 charges before you pay to place down more. That would be the easier method, but, again, is a work around for using an actual cargo bay.
The way I sorta tested to actually fake a cargo bay is doing exactly what the Carrier does: look into the "Carrier - Hangar" ability (an "Arm Magazine" type ability) which trains Interceptors and stores them up until a certain number (8 by default). The issue is that releasing Interceptors isn't very simple, but in my 10 minute test I used the "Carrier - Release Interceptors" ability and, after removing the Interceptor requirement, it would release Widow Mines. It acted hilariously weird because how Interceptors are given commands, but you would play around with it to get the results you're looking for. I should also note this isn't an actual cargo bay like Bunkers/Medivacs, it's a "magazine" which, as far as I assume, only stores whatever unit is included in the ability (like I replaced Interceptors with Widow Mines).
Greetings, yes i agree with Landmine752 about the Arm Magazine ability. if you have Legacy of the Void, i would suggest looking at the Release Interceptors effect tree, i think it could be modified, if it works, to release widow mines from the magazine and order then to move to a point and then burrow when they get to that point. it would be a good bit of work but a good learning experience as well.
I mean, you could always have the Widow Mines be trained, hidden by an opacity actor event, spawned externally for a split second, and momentarily loaded into the cargo of the Hellion/Cyclone...
Hi!
I'm trying to create an ability that allows a unit to train another unit, but I would like the trained unit to automatically spawn within the trainer's cargo. If it helps, I would like the Hellion and Cyclone to be able to train and transport Widow Mines, but I don't want the Widow Mines to spawn outside of the Hellion or Cyclone. Is this possible, and how should I go about doing it?
There are two options I know of that you can do. The first is sorta working around the actual cargo hold ability and simply doing what the Vulture does with its Spider Mine ability: when you want to place down a spider mine you have 3 charges before you pay to place down more. That would be the easier method, but, again, is a work around for using an actual cargo bay.
The way I sorta tested to actually fake a cargo bay is doing exactly what the Carrier does: look into the "Carrier - Hangar" ability (an "Arm Magazine" type ability) which trains Interceptors and stores them up until a certain number (8 by default). The issue is that releasing Interceptors isn't very simple, but in my 10 minute test I used the "Carrier - Release Interceptors" ability and, after removing the Interceptor requirement, it would release Widow Mines. It acted hilariously weird because how Interceptors are given commands, but you would play around with it to get the results you're looking for. I should also note this isn't an actual cargo bay like Bunkers/Medivacs, it's a "magazine" which, as far as I assume, only stores whatever unit is included in the ability (like I replaced Interceptors with Widow Mines).
Greetings, yes i agree with Landmine752 about the Arm Magazine ability. if you have Legacy of the Void, i would suggest looking at the Release Interceptors effect tree, i think it could be modified, if it works, to release widow mines from the magazine and order then to move to a point and then burrow when they get to that point. it would be a good bit of work but a good learning experience as well.
I mean, you could always have the Widow Mines be trained, hidden by an opacity actor event, spawned externally for a split second, and momentarily loaded into the cargo of the Hellion/Cyclone...
Custom Campaign Initiative | Mapster Community Project: Data Wizards
Starcraft II: Unsung Rebels, a custom campaign for Starcraft II
SC2Saver, a way to create saved games via trigger
Frustrated with the editor and would like answers in real time? Join the SC2Mapster Discord!
Thanks for the help, everyone, the Carrier Hanger might be what I was looking for. :-)