Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Arrays...
Arrays...
09-24-2006, 02:31 PM
#1
darkwulfv
How do you make a local variable array in JASS?
I know a good amount about JASS... but I never needed an array till now.
09-24-2006, 02:50 PM
#2
Captain Griffen
local <type> array
EG: local integer array
09-24-2006, 02:55 PM
#3
darkwulfv
Thank you. And indexing is as simple as variable[1]?
Or is it [index 1]?
09-24-2006, 03:17 PM
#4
Captain Griffen
Just variable[1]
09-24-2006, 03:46 PM
#5
darkwulfv
Yay for me, I managed to make a complex (in my eyes) JASS trigger, MUI and all. Thanks Griffen, it wouldn't have worked without arrays. (well it would have, but it would have needed 8 effect variables)