• 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.

Wonder ability.

Status
Not open for further replies.
Level 2
Joined
Apr 21, 2004
Messages
20
Hi All,

Just wanted to know how to create a spell that when cast at anemy units, it will start to wonder around for a limited amount of time.

The wonder ability can be found from the sheep... it wonders around... Just want to make this spell so the enemy unit that gets the spell will be out of control... hahahahahahahha
 
Level 14
Joined
Nov 25, 2004
Messages
1,185
Wander ability.........

You can use trigger

Event
A unit starts the effect of ability
Condition
(Ability being cast) equal to WanderEnemy (your spell)
Actions
Set player = Player Owning (Target of Ability being cast)
Unit - Change Player of (Target of Ability being cast) to Neutral - Passive
Unit - Add Ability Wander (sheep ability) to (Target of Ability being cast)
Wait 5.00 // time to wait
Unit - Remove Ability Wander from (Target of Ability being cast)
Unit - Change Player of (Target of Ability being cast) to player
 
Status
Not open for further replies.
Top