Youre not stupid. Caster is not equal to ANY unit of the same type owned by player. Its a whole different stuff.
Check how the Liberator anti-ground weapon is done. In LotV Blizzard added a new field for UnitCompareBehaviorCount type of validator. This new field called "Require Caster Unit+" which lets you check caster of "Apply Behavior" effect. This allows to shoot only at targets which are alowed for a particular liberator instead of any liberator owned by a player.
If you want this type of search for units managed through Arm Magazine ability you should apply a dummy buff (you can run that effect by putting it in Create field of Arm Magazine ability) which will serve as a marker. Then in the target effect of search area you should put that BehaviorCount validator with "Required Caster Unit+" set to Caster.
If the spawn unit created by caster with "Create Unit" effect you should Apply Behavior on "Spawn Effect+" (a field in Create Unit effect object).
Thanks for the reply. It's the Magazine version I've got. I tried your method:
But for some reason I can not apply Behaviors in the spawn field of the Magazine ability? I set an Apply Behavior effect with the desired behavior, and the Effect: Unit+ to (None): Target: Unknown but nothing happens what so ever.
youre doing something wrong. In your previous thread you applied persistent with that field, Apply Behavior is the regular effect just as create persistent and can be used in a same way. If this issue from the same ability that you asked for in previous thread i suggest to put that Apply Behavior effect in Effect - Initial field of your persistent. OR create a set effect that will include both Apply B. and Create Persist. Effects.
man.. You put your effect in "Release" bracket of arm magazine abil which happens when ammo gets out of host's control by running "Release Magazine" effect.... You need to put desired effect in "Create" bracket....
I want to do a search effect which should only target units owned by the casting unit.
really? you cant setup a simple filter? just uncheck enemy, neutral, ally
oh.. wow.. I feel stupid, forgot that you could filter for player. Thanks.
@FunkyUserName: Go
how's the filters help you detect if units belong to caster?
@Demtrod: Go
Youre not stupid. Caster is not equal to ANY unit of the same type owned by player. Its a whole different stuff.
Check how the Liberator anti-ground weapon is done. In LotV Blizzard added a new field for UnitCompareBehaviorCount type of validator. This new field called "Require Caster Unit+" which lets you check caster of "Apply Behavior" effect. This allows to shoot only at targets which are alowed for a particular liberator instead of any liberator owned by a player.
If you want this type of search for units managed through Arm Magazine ability you should apply a dummy buff (you can run that effect by putting it in Create field of Arm Magazine ability) which will serve as a marker. Then in the target effect of search area you should put that BehaviorCount validator with "Required Caster Unit+" set to Caster.
If the spawn unit created by caster with "Create Unit" effect you should Apply Behavior on "Spawn Effect+" (a field in Create Unit effect object).
@abvdzh: Go
Thanks for the reply. It's the Magazine version I've got. I tried your method:
But for some reason I can not apply Behaviors in the spawn field of the Magazine ability? I set an Apply Behavior effect with the desired behavior, and the Effect: Unit+ to (None): Target: Unknown but nothing happens what so ever.
What could cause this?
@Demtrod: Go
youre doing something wrong. In your previous thread you applied persistent with that field, Apply Behavior is the regular effect just as create persistent and can be used in a same way. If this issue from the same ability that you asked for in previous thread i suggest to put that Apply Behavior effect in Effect - Initial field of your persistent. OR create a set effect that will include both Apply B. and Create Persist. Effects.
@abvdzh: Go
I didnt actually get to tinker with what you suggested in the last thread, but saw your response and thought that it deserved a "Thanks" :)
I don't know what I'm doing wrong, I've screenshotted a few screens, maybe you can see what I'm doing wrong?
http://imgur.com/a/hDB43
man.. You put your effect in "Release" bracket of arm magazine abil which happens when ammo gets out of host's control by running "Release Magazine" effect.... You need to put desired effect in "Create" bracket....
@abvdzh: Go
Omg.. Well now I feel stupid, I must've stared myself blind on that. Anyway, thanks for pointing that out!
@Demtrod: Go
will thank me when you finish your ability :X. You can look in map from this thread as i suggested before https://www.sc2mapster.com/forums/development/map-development/88650-bosses-with-0-triggering-fun-or-shit/
I'm using that effect slots of Arm Magazine abil to apply various buffs on ammo units of Warhound. It's pretty easy to inspect what i did there...
@abvdzh: Go
Thanks! Will look into that as soon as I'm done with this :) Very nice to know with the effects on ammo, open up a few new options :)
This is actually only used to apply a cooldown to a passive button, but it's the small things I guess :)