i have some questions regarding jass, custom scripts, and local variables. these questions may have been answered somewhere else but i cant find it, and when i search for these things it just comes up with topics where people tell someone they should have used local variables for something and none of it explains anything.
please dont answer these questions unless you really know what you're talking about. i would rather have no information than the wrong information. like my question about pointers, don't just automatically say no because you havent seen it or dont know how, only answer if you know for sure and personally have tried and searched for it.
first, does jass let you make your own data types? like struct and class in c++.
does jass have pointers?
multi-dimensional arrays: i know you cant make them in the gui variable thing, but can you make them when you are coding in jass?
how do you make local arrays? is it something like... local integer array[5] to create a local array of 5 integers?
if i use a custom script to make a local integer named count in a trigger, can you use the local variable as the variable for the "For Each Integer Variable, Do Multiple Actions" gui action?
In jass, is there a while loop or a do-while loop? i have been doing it a cheap way where i use an integer variable in a for loop and inside the loop from 1 to 2 and inside the loop i use an if/then/else to check the conditions i want, if its true i set the integer to 1, if its false i set the integer to 2, so if its true it will go through the loop again because its a 1 again but if its false it stops looping because i set it to 2 and thats the last number so it breaks out of the loop. i'd like it if i could just use a while or do-while loop instead.
also, i dont expect someone to explain it here, but can anyone (Vexorian) point me to where i can find something on how to use game caches to use hash tables?
please dont answer these questions unless you really know what you're talking about. i would rather have no information than the wrong information. like my question about pointers, don't just automatically say no because you havent seen it or dont know how, only answer if you know for sure and personally have tried and searched for it.
first, does jass let you make your own data types? like struct and class in c++.
does jass have pointers?
multi-dimensional arrays: i know you cant make them in the gui variable thing, but can you make them when you are coding in jass?
how do you make local arrays? is it something like... local integer array[5] to create a local array of 5 integers?
if i use a custom script to make a local integer named count in a trigger, can you use the local variable as the variable for the "For Each Integer Variable, Do Multiple Actions" gui action?
In jass, is there a while loop or a do-while loop? i have been doing it a cheap way where i use an integer variable in a for loop and inside the loop from 1 to 2 and inside the loop i use an if/then/else to check the conditions i want, if its true i set the integer to 1, if its false i set the integer to 2, so if its true it will go through the loop again because its a 1 again but if its false it stops looping because i set it to 2 and thats the last number so it breaks out of the loop. i'd like it if i could just use a while or do-while loop instead.
also, i dont expect someone to explain it here, but can anyone (Vexorian) point me to where i can find something on how to use game caches to use hash tables?


