I thought this would be an easy trigger but I got stumped. What I want is event, unit comes within range 2 of unit type, egg, order the egg to hatch.
I'm not sure if triggers could call on the egg unit unless I make a separate trigger for each one. Is there a behavior / ability or something I need? I don't even know how to get the unit type in the event, only individual units.
I suppose I could do regions but a unit coming into range of the egg would be better.
You can use a condition that checks the unit type, however it isn't the most efficient means of doing this.
or if you have the eggs preplaced you can just have any unit enters within 2 of unit(each egg) You can have these all in the same trigger. I think that's what you had in mind though.
That sounds like what I want but I don't know how to do it. I gave my egg the infested terran campeign unburrow ability which should morph it into an infested terran right? but it does nothing.
My first attempt I took the Larva - spawn unit, and tried converting that into spawn infested marine, I gave the unit the ability and button but the button doesn't even show up on the unit in game. Theres no requirements that I can see. blah!
Update, I'm able to get the Larva - spawn unit ability to work, don't know how to get the morph ability to work.
The generic infested terrain morph relies on an Issue Order effect from the parent ability to morph.
The larvae morph using a Train ability so unless your button is linked to a slot in an ability of that kind and your larvae has that ability under the Units data type, it will not be usable. Setting the button to supressed also can hide it.
I thought this would be an easy trigger but I got stumped. What I want is event, unit comes within range 2 of unit type, egg, order the egg to hatch.
I'm not sure if triggers could call on the egg unit unless I make a separate trigger for each one. Is there a behavior / ability or something I need? I don't even know how to get the unit type in the event, only individual units.
I suppose I could do regions but a unit coming into range of the egg would be better.
You can use a condition that checks the unit type, however it isn't the most efficient means of doing this.
or if you have the eggs preplaced you can just have any unit enters within 2 of unit(each egg) You can have these all in the same trigger. I think that's what you had in mind though.
Could just give the eggs a Morph ability with the Automatic flag on and an Enumerate Area validator.
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
@DrSuperEvil: Go
That sounds like what I want but I don't know how to do it. I gave my egg the infested terran campeign unburrow ability which should morph it into an infested terran right? but it does nothing.
My first attempt I took the Larva - spawn unit, and tried converting that into spawn infested marine, I gave the unit the ability and button but the button doesn't even show up on the unit in game. Theres no requirements that I can see. blah!
Update, I'm able to get the Larva - spawn unit ability to work, don't know how to get the morph ability to work.
The generic infested terrain morph relies on an Issue Order effect from the parent ability to morph.
The larvae morph using a Train ability so unless your button is linked to a slot in an ability of that kind and your larvae has that ability under the Units data type, it will not be usable. Setting the button to supressed also can hide it.
Just use the automatic flag.
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