• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Problem with cloud spell

Status
Not open for further replies.

jw232

J

jw232

I'm trying to use the Dragonhawk Rider's cloud ability as a kind of silence that prevents attacks. However, when I change targets allowed to "enemy", the cloud still affects player units. I tried it on all players and it seems like the cloud uses player 1's enemies as its targets. So if you are player 2 and you are player 1's enemy, then the cloud will affect you, but it won't affect player 1's allies, even if they are your enemies! :eekani: I attached this map so you can see if you have the same problem. For all players besides player 1, cloud will prevent your own unit's attacks because it's player 1's enemy. Meanwhile, can anyone think of another way to temporarily remove a unit's attacks?
 

Attachments

Base it off something like tranquility, but remove any data from the actual ability. Trigger the rest to summon a dummy unit that casts silence on all units not owned by the casting unit, and when the channel stops kill off the dummy unit?
 
Hmm... is there a cleaner way to do it? Cloud is an AOE channeling, if you walk in you're affected, if you walk out, you're not. Since silence has a duration, you could walk out and still be affected for a bit.
 
you can make it 0.1 ^^ and
make base ability channel, blizzard or rain of fire
so you can channel an area
then make an arrayed boolean value set it true when unit begins channeling and false when unit stops/finishes casting
and make a trigger like a dummy appears and casts silence in area in every 0.1 second etc etc etc
(You may store the silence point in a variable too)
 
Status
Not open for further replies.
Back
Top