The title says most of what you need to know. I'm stuck.
I am good at programming in C,C++ and MATLAB (if you can say MATLAB involves programming, but it doesn't matter).
Thing is that I see a lot of different ideas when I try to make a spell. I think I can make a queue, I can use events, I always try to use functions so that I use modular programming, I try to use structures (in fact they are more a C++ class than a structure, because C structures don't have methods), but I just don't get it, I can't handle JASS, for every idea I attempt, I come to a dead end (some of them fail because JASS/vJASS has some asymetries, but they are the least).
So, my bigger problems come when I try to coordinate everything perfectly, because I would like to put, for example, more than one trigger in a scope, or I have to wait for a condition, like waiting for an attack to happen, and so I need sometimes to pass some variables from one trigger to another, but I want variables to stay hidden inside a module and I cant pass variables between triggers the way you do with functions (maybe this could be solved using handles, like the hated userdata and handles in MATLAB, but I don't know how do handles work in the world editor).
In conclusion, I will ask you experts for manuals, short and clear tutorials and every thing you think will be more useful for unstucking me.
Thanks in advance!
I am good at programming in C,C++ and MATLAB (if you can say MATLAB involves programming, but it doesn't matter).
Thing is that I see a lot of different ideas when I try to make a spell. I think I can make a queue, I can use events, I always try to use functions so that I use modular programming, I try to use structures (in fact they are more a C++ class than a structure, because C structures don't have methods), but I just don't get it, I can't handle JASS, for every idea I attempt, I come to a dead end (some of them fail because JASS/vJASS has some asymetries, but they are the least).
So, my bigger problems come when I try to coordinate everything perfectly, because I would like to put, for example, more than one trigger in a scope, or I have to wait for a condition, like waiting for an attack to happen, and so I need sometimes to pass some variables from one trigger to another, but I want variables to stay hidden inside a module and I cant pass variables between triggers the way you do with functions (maybe this could be solved using handles, like the hated userdata and handles in MATLAB, but I don't know how do handles work in the world editor).
In conclusion, I will ask you experts for manuals, short and clear tutorials and every thing you think will be more useful for unstucking me.
Thanks in advance!