ive been experimenting with triggers and such, and im trying to make it so; When you cast a skill (based off storm bolt) it casts a spell with equal damage (looks different) to two random units within 700 range. I can get it to cast it to one unit, but i cant get it to cast to the second unit. Help would b nice ^_^
Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to .... Actions Trigger - Turn off (This trigger) Unit - Create 1 *dummy* for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing (270.0) degrees Unit - Order (Last created unit) to *cast the spell* (Random unit from (Units within 700.00 of (Position of (Casting unit))) Wait *cooldown time* seconds Trigger - Turn on (This trigger)
PS: Create more dummys if u want the casting unit shoot more bolts
are you talking bout the "pick all units in group and do multiple actions" function? cuz u ddnt put that up there and i still cant get it to cast on 2 different units, i cant even get it to cast once lol
? Why it doesnt work, I use the trigger to and it works. Make sure the dummys have the ability, enough mana etc. also set the dummy model to none and scaling value to 1.0 so u can c the missle (bolt) he fires. I dunno if ive already told it, but the spell for the dummy must be the same as the spell for the casting unit.