• 🏆 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!

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