- Joined
- Jun 22, 2016
- Messages
- 71
I've just been having a go at converting GUI into vJASS. Since there's a wait delay required I thought it be better using local run of temp variables instead of global ones to prevent the risk of outside trigger passing or bugs that access the same variables. After so many errors, I finally got the trigger to work.
Now I think I've found a new problem. After checking my code I've found this "TRIGSTR".
After testing it holds the string I typed in the GUI debug messages I use for testing code flow. These can be changed into a direct string in vJASS.
If I'm correct. Every time we enter a string in actions like these below. The values are being stored in one of these TRIGSTR.
Now I think I've found a new problem. After checking my code I've found this "TRIGSTR".
vJASS:
call DisplayTextToForce(GetPlayersAll(), "TRIGSTR_027")
After testing it holds the string I typed in the GUI debug messages I use for testing code flow. These can be changed into a direct string in vJASS.
If I'm correct. Every time we enter a string in actions like these below. The values are being stored in one of these TRIGSTR.
-
Example
-
Events
-
Conditions
-
Actions
-
Game - Display to (All players) the text: example debug messa...
-
Game - Display to (All players) for 30.00 seconds the text: example debug messa...
-
-