| 03-25-2004, 03:25 PM | #1 |
I'm working on a teleport spell in which i need to have the little mass teleport target buff attached to every unit in the radius of the spell. This is what i have right now, Unit Group - Pick every unit in (Units in (Region centered at (Target point of ability being cast) with size (700.00, 700.00)) matching (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Equal to True)) and do (Actions) Loop - Actions Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl with of course the basic event unit begins casting etc. If i could get this to work i still have the problem of removing all the special effects on those units that couldnt be set to variables, so if anyone knows how to solve that problem it'd be great too :p |
| 03-25-2004, 04:16 PM | #2 |
i realized that what makes my special effects not work is the wait i had in my trigger, Wait 4.00 seconds Unit Group - Pick every unit in (Units in (Region centered at (Target point of ability being cast) with size (700.00, 700.00)) matching (((Matching unit) belongs to an ally of (Owner of (Casting unit))) Equal to True)) and do (Actions) Loop - Actions Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl my bad :p |
