Introduction
I have now reached a point where I can't fix my map further as I can't find anyone with the knowledge to answer my non UI-related questions, I decided I should take the matter in my own hands.
To do so, I think I need to forget about plain Jass and start converting my map into vJass, as Reforged WE is supposed to support it with JassHelper, as well as this mysterious thing called LUA.
First for those who haven't read me yet, remember I just came back to Warcraft 3 in December 2019 after 16 years, so many concepts are new to me.
Well first surprise vJass does not work in Reforged WE. I mean not properly.
For example, I can not declare globals :
If I throw these in a custom script, JassHelper throws offended compile errors labeled "syntax error"... unless I enable the DEBUG MODE !!!!! WTF ? And no it is not my map, I tried in a blank map !
Ok so let's say i enable that debug mode. Now I can't use a custom InitGlobals functions, it throws an error even with DEBUG MODE enabled.
SO now I replaced all my map global variables by a nice custom globals section that Jass Helper kindly properly injects into the map globals section (thank you debug mode), how do I initialize my globals other than in my MapInit trigger ? So before I chain run into problem after problem that makes my life a nightmare, here is a list of concise questions for experts.
The questions
1) Why does JassHelper need Debug Mode to support vJass ?
2) How do you initialize declared global variables ?
3) How do you inject code in the Main map script / or how do you modify this Main script ?
4) In WE, what is the difference between an empty Custom Script and an emptied trigger converted to text?
5) Using vJass, can I control the whole map script from WE ?
6) Should I really learn vJass now Jass has very little secrets left for me ?
7) What is LUA, is it better than vJass or Jass ? Should I learn LUA instead of vJass ?
(I am asking this question in the context of reforged, all resources I have found are outdated)
I have now reached a point where I can't fix my map further as I can't find anyone with the knowledge to answer my non UI-related questions, I decided I should take the matter in my own hands.
To do so, I think I need to forget about plain Jass and start converting my map into vJass, as Reforged WE is supposed to support it with JassHelper, as well as this mysterious thing called LUA.
First for those who haven't read me yet, remember I just came back to Warcraft 3 in December 2019 after 16 years, so many concepts are new to me.
Well first surprise vJass does not work in Reforged WE. I mean not properly.
For example, I can not declare globals :
JASS:
globals
integer udg_or_not_i
endglobals
If I throw these in a custom script, JassHelper throws offended compile errors labeled "syntax error"... unless I enable the DEBUG MODE !!!!! WTF ? And no it is not my map, I tried in a blank map !
Ok so let's say i enable that debug mode. Now I can't use a custom InitGlobals functions, it throws an error even with DEBUG MODE enabled.
SO now I replaced all my map global variables by a nice custom globals section that Jass Helper kindly properly injects into the map globals section (thank you debug mode), how do I initialize my globals other than in my MapInit trigger ? So before I chain run into problem after problem that makes my life a nightmare, here is a list of concise questions for experts.
The questions
1) Why does JassHelper need Debug Mode to support vJass ?
2) How do you initialize declared global variables ?
3) How do you inject code in the Main map script / or how do you modify this Main script ?
4) In WE, what is the difference between an empty Custom Script and an emptied trigger converted to text?
5) Using vJass, can I control the whole map script from WE ?
6) Should I really learn vJass now Jass has very little secrets left for me ?
7) What is LUA, is it better than vJass or Jass ? Should I learn LUA instead of vJass ?
(I am asking this question in the context of reforged, all resources I have found are outdated)