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

fear type spell

Status
Not open for further replies.
Level 7
Joined
Oct 12, 2004
Messages
186
I'm working on a spell that will fear a unit making unuseable kinda like hex but causes the unit to run around.

How could I make the unit uncontrolable and run around while feared?

Edited: also while feared the unit can cause units nearby that that player isn't currently in combat with to start attacking the player's units
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
When u cast it on a unit, make the unit neutral passive and make this trigger:

Events: Every (Math Random Number between 1 and 5(example) seconds
Conditions:
-------
Actions:
Unit Group - Pick every unit in playable map area with the buff: 'fear' and do: order picked unit to move to a random point in rect centered at picked unit with size ...,... (x and y) (this is the 'Conversion - Convert size with point to Rect' action)

Hope this works
 
Status
Not open for further replies.
Top