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

Empath ability (random item spell)

Status
Not open for further replies.
Level 3
Joined
Aug 25, 2004
Messages
46
I'm making a map and i want to have the hero have the same level 10 skills as the empath from enfos. ( If u don't know what skill that is it makes random items appear when u do the spell). I am pretty sure its a spell enhanced by a trigger but im not sure.

Thx Alot,

- = B e a t - D o w n = -
 
Level 9
Joined
Aug 27, 2004
Messages
471
Correct!

That is in fact a spell that does nothing on its own.
The trigger is 2 parts.
1: An ability is clicked
Condition > bolean > clicked spell equal to (spell name)
Action: Create a random item from gruop (you need a group name)
2: on map instalization.
No condition.
Set intergriter,
item, (item must be an array dont bother editing the size it atomaticaly does it) Add each item you want to be created (depending on how many you have is the chances Example, You have 4 items each item has a 25% chance of being created) im not sure if this is totaly correct but im 99% sure.
 
Status
Not open for further replies.
Top