Warcraft III resources & community, 2003–2006 · archived

Split bolt spell

11 posts
#1

Split bolt spell

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 ^_^
#2
Use this trigger:

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
#3
RamzaUse this trigger:
Unit - Order (Last created unit) to *cast the spell* (Random unit from (Units within 700.00 of (Position of (Casting unit)))


How do you get it to target random units? cuz when i choose what units it can target its just like picked unit, last created unit etc. etc.
#4
Somewhere in that list u should c this line:
'Random N units from unit group'
#5
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
#6
? 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.
#7
could u send me the test map u used for it? that way i can see if ur doin what i want done lol, and if so that will help me make it
#8
Ah, yes. Whats ur E-mail?
#10
Ok, ive send the map. Tell me if u dont have it
#11
Thanks man, i got it, ima take a look at it right now! Then go play guitar for bout 6 hours...