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

[Solved] Any script for learning spell from a Variable?

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2010
Messages
950
this is whats used to learn a spell for example:
Hero - Learn skill for (Picked unit): Human Archmage - Blizzard

I need to be able to read a spell from array and make the hero learn that given spell.. is there any jass script capable of this that im unaware of?

this is what i need:
Hero - Learn skill for (Picked unit): TempAbilities_Array[(Integer A)]

more or less.. any help will be greatly appreciated :)
 
Status
Not open for further replies.
Top