• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

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