- Joined
- Nov 5, 2020
- Messages
- 4
Greetings!
I'm working on a random hero command, and I've been following the basic hero tavern guide here https://world-editor-tutorials.thehelper.net/herotavern.php
Currently working on putting all the heroes into an array. I totally understand the logic that it should be something like this
However when it comes to actually using WC3 editor, I fail to understand how i set the value of the array to the specific hero? What function should i choose when defining value, that allows me to specify a specific unit?
I've attatched a screenshot that shows what i mean
I'm working on a random hero command, and I've been following the basic hero tavern guide here https://world-editor-tutorials.thehelper.net/herotavern.php
Currently working on putting all the heroes into an array. I totally understand the logic that it should be something like this
JASS:
Set VariableSet HeroType[1] = Archmage
Set VariableSet HeroType[2] = Paladin
However when it comes to actually using WC3 editor, I fail to understand how i set the value of the array to the specific hero? What function should i choose when defining value, that allows me to specify a specific unit?
I've attatched a screenshot that shows what i mean