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

[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