• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Spell

Status
Not open for further replies.
Level 9
Joined
Dec 15, 2009
Messages
625
Well,how do I create a spell that pushes a Unit out of control of the player for some time,attacking anyone in its path,I cant figure it out.Please Help!
 
I'm sorry for not writing correctly.

What I mean is,when the spell (Confusion) is caused on unit,The unit misses its attacks(Like Curse) but also becomes uncontrollable,meaning the player cannot control the unit which is affected by the spell for 10 seconds.The unit attacks anyone in its path,be it friend or foe,during this time
 
Store the unit, the player the owns it in a veriables, then change its owner to (Neutral Hostile), make an loop trigger with the timer(s) and when the timer expires, return the unit to the player and clear the veriables.

You can also make an second trigger, that orders all units with the ability buff to attack random enemies/allies around it.
 
Status
Not open for further replies.
Back
Top