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....