• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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