I have an ability that creates a unit which uses an issue order command that will launch a missile that hits all enemy units in an area.
After that, the created unit dies and for each enemy unit the created unit hits with the launched missile, 1 spell charge is added to the caster unit.
Normally this wouldn't be a problem, but since the created unit is the one that's casting the spell and the caster unit is the one that is receiving the spell charges, i am not too sure how to go about with this.
I spent the last 2 hours tweaking the modify unit fields, but it all failed... does anyone knows the fields to put in?
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?
Sorry, I am not too sure if I get you, please elaborate on it more. Where do I apply this buff? I do not see it under the create unit section of the brood lords. Maybe my explanation wasn't clear enough. There are 2 different units.
1. Caster unit ( The initial unit)
2. Created Unit (The unit that the caster unit creates using a create unit effect)
Under my Create Unit effect, I already have an issue order telling the created unit to use this ability.
This ability launches a missile and for each hit, 1 charge (Using modify unit) is given to the Caster unit, not the created unit. My problem is giving the 1 charge to the Caster unit. I don't really understand your solution, so it would help if you can break it down a little.
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?
Edit: I have found a way to add the charges by modifying the ability to bypass the create unit and just launch the ability from the caster unit itself. Its not exactly what I want, but its better then getting stuck on this.
I applied the Kills to Caster buff onto the created unit and set the Kill credit of this buff to
Effect : My created unit effect,
Value : Caster... but it didn't work
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?
Hi, I am stumped at this unit charges problem..
I have an ability that creates a unit which uses an issue order command that will launch a missile that hits all enemy units in an area.
After that, the created unit dies and for each enemy unit the created unit hits with the launched missile, 1 spell charge is added to the caster unit.
Normally this wouldn't be a problem, but since the created unit is the one that's casting the spell and the caster unit is the one that is receiving the spell charges, i am not too sure how to go about with this.
I spent the last 2 hours tweaking the modify unit fields, but it all failed... does anyone knows the fields to put in?
Help would be greatly appreciated. Thanks.
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
Sorry, I am not too sure if I get you, please elaborate on it more. Where do I apply this buff? I do not see it under the create unit section of the brood lords. Maybe my explanation wasn't clear enough. There are 2 different units.
1. Caster unit ( The initial unit) 2. Created Unit (The unit that the caster unit creates using a create unit effect)
Under my Create Unit effect, I already have an issue order telling the created unit to use this ability.
This ability launches a missile and for each hit, 1 charge (Using modify unit) is given to the Caster unit, not the created unit. My problem is giving the 1 charge to the Caster unit. I don't really understand your solution, so it would help if you can break it down a little.
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
Not Effect - Instant, but Effect - Target.
Edit: I have found a way to add the charges by modifying the ability to bypass the create unit and just launch the ability from the caster unit itself. Its not exactly what I want, but its better then getting stuck on this.
I applied the Kills to Caster buff onto the created unit and set the Kill credit of this buff to
Effect : My created unit effect, Value : Caster... but it didn't work
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