I've been having an issue understanding the relation of effect locations from a search area effect.
I understand that the Target: Impact Location - Value of a search area effect should be set to the unit you want the area centered on - generally the source. However, I am having trouble with the target locations of effects further down the tree.
Let's say that I have an ability wherein I apply a behavior to an enemy unit. This behavior periodically searches for other enemy units and applies a force to pull the other enemy units to the unit that the behavior was applied to.
What would be the appropriate Effect: Unit - Value for the apply force effect? It's my understanding that this is the unit the force gets applied to, but I have tried both Target and Outer in this field and not gotten the desired result.
Generally, if you apply an effect through a Search the Target of the applied effect is the unit found by the search and the Source is the unit the search was centered on. If the effect is further down the chain this will change, for example if you use Search->Set->Effect the Source of "Effect" will also be the unit found by the Search, equal to Target. You can specify an effect in the Target+/Location+ fields to circumvent this and use the scope of the specified effect instead.
In your case the Unit+ field should be set to Target and the Location+ field should be set to something like Search Effect: Target.
Also Apply Force effects might still require that you lift units into the air to work properly, check Maar's Psionic Shockwave ability.
I've been having an issue understanding the relation of effect locations from a search area effect.
I understand that the Target: Impact Location - Value of a search area effect should be set to the unit you want the area centered on - generally the source. However, I am having trouble with the target locations of effects further down the tree.
Let's say that I have an ability wherein I apply a behavior to an enemy unit. This behavior periodically searches for other enemy units and applies a force to pull the other enemy units to the unit that the behavior was applied to.
What would be the appropriate Effect: Unit - Value for the apply force effect? It's my understanding that this is the unit the force gets applied to, but I have tried both Target and Outer in this field and not gotten the desired result.
Generally, if you apply an effect through a Search the Target of the applied effect is the unit found by the search and the Source is the unit the search was centered on. If the effect is further down the chain this will change, for example if you use Search->Set->Effect the Source of "Effect" will also be the unit found by the Search, equal to Target. You can specify an effect in the Target+/Location+ fields to circumvent this and use the scope of the specified effect instead.
In your case the Unit+ field should be set to Target and the Location+ field should be set to something like Search Effect: Target.
Also Apply Force effects might still require that you lift units into the air to work properly, check Maar's Psionic Shockwave ability.
Apply force effects need a buff or Create Persistent effect to apply them regularly.
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