I gave you the solutions, it is your choice that you did not use them. The kills to caster was only an example. You could get your ability to create the unit, apply a buff to the created unit and apply a marker buff to the target enemy unit. The buff on the created unit then does the effect tree of your effect-instant ability using a search area which prioritses the marked target unit using target sorts. You could even disable the buff on the created unit until it is within a certain range of the target.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
You can use that field to apply a buff to the created unit, this buff is known as belonging to the caster (eg. Kills To Caster for the infestor created units). Your created unit could stack up counter buffs using it's missile ability which the buff applied by the caster then converts into charges on the caster. Or you could get the buff to do the whole ability where the charges would go to the caster anyhow.
Let me get this straight all it does is create a unit that then is issue ordered to use an Effect - Instant type ability?
Under the Create Unit effect you can deternine what effects are applied to the created unit. Just do like the broodlings and apply a buff which does all your missile launching but still recognises the caster as the unit doing the creating.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I gave you the solutions, it is your choice that you did not use them. The kills to caster was only an example. You could get your ability to create the unit, apply a buff to the created unit and apply a marker buff to the target enemy unit. The buff on the created unit then does the effect tree of your effect-instant ability using a search area which prioritses the marked target unit using target sorts. You could even disable the buff on the created unit until it is within a certain range of the target.
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
You can use that field to apply a buff to the created unit, this buff is known as belonging to the caster (eg. Kills To Caster for the infestor created units). Your created unit could stack up counter buffs using it's missile ability which the buff applied by the caster then converts into charges on the caster. Or you could get the buff to do the whole ability where the charges would go to the caster anyhow.
Let me get this straight all it does is create a unit that then is issue ordered to use an Effect - Instant type ability?
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
Under the Create Unit effect you can deternine what effects are applied to the created unit. Just do like the broodlings and apply a buff which does all your missile launching but still recognises the caster as the unit doing the creating.
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