• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

splash effects???

Status
Not open for further replies.
Level 2
Joined
Apr 5, 2008
Messages
8
hey im having trouble with one of my towers.
its a splash tower (minimum dmg) and i want it to cause slow to every unit it hits so they move 50% of their normal speed.
ive tried a few things and its still not working..

any ideas would be great.

thanks all
 
Level 4
Joined
Feb 25, 2008
Messages
58
Give it a passive orb of frost ability, though I'm not sure if that will effect all the splashed units or not.. might as well try it though.
 
Level 2
Joined
Apr 5, 2008
Messages
8
thanks all, as for the post with the triggers. for some reaons i cant make that trigger :thumbs_down: no idea why but i dont have the possibilities for it

bah hum bug

if anyone is willing to take a look for me and let me know ill send u the map...
just pm me

thanks all again :)
 
Level 3
Joined
Mar 26, 2008
Messages
53
Just a thought but
Make a new passive unit ability based on the desiese cloud
give it no art
have it do no damage
rename it appropriately and give it a proper icon if you wish to have it show on the command card
Give it no Techtree Dependancies
Give it to the Tower as a Default ability

Trigger
Event-Unit starts the Effect of an Ability
Condition-Triggering Unit has the buff (YouNewDesiseCloudBuff) equal to True
Actions-Set Variable (SlowedUnit)=(TriggeringUnit)
-Set Variable (Variable1)=(Variable1 + 1)
-Set (SlowedUnit[Variable1]) movement speed to (135)
-wait 5.00 seconds
-Set (SlowedUnit[Variable1]) movement speed to (Default Movement Speed of (Triggering Unit))

This is most likely really wrong but I can see it in my head.
135 movement speed is 50% of the normal infantry speed of 270.
And, I'm really shooting in the dark on how to make the effect only last a period of time; so I'm sort've shooting in the dark on that part of the trigger.
 
  • Slow Tower
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Slow Tower
    • Actions
      • Unit - Set (Attacked unit) movement speed to ((Current movement speed of (Attacked unit)) - ((Current movement speed of (Attacked unit)) / 2.00))
      • Wait 30.00 seconds
      • Unit - Set (Attacked unit) movement speed to ((Current movement speed of (Attacked unit)) + ((Current movement speed of (Attacked unit)) / 2.00))
This will make the unit move whit 50% of its original speed.
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
Dark Hunter i think your solution will not work correct, as the "current movement speed" of the unit is lower at the time you restore it, so it should work if you use sth like this:

  • Unit - Set (Attacked unit) movement speed to ((((Current movement speed of (Attacked unit)) / 2.00))
  • Wait 30 sec
  • Unit - Set (Attacked unit) movement speed to ((Current movement speed of (Attacked unit)) * 2.00))
 
Status
Not open for further replies.
Top