Any help with Variables

Status
Not open for further replies.
Level 8
Joined
Nov 27, 2015
Messages
157
I know how to use them.I know how to create them.I know everything what i need about them only one thing i dont know.How to reduce the time for the mass group of variables to be deleated.Whne i delete one or two variaables and click ok it finishes in 2 or 3 secs but when i delete multiple variables from 10 to 50 or more it usualy takes about an hour.What can i do to reduce the time for it to procced?
 
I know how to use them.I know how to create them.I know everything what i need about them only one thing i dont know.How to reduce the time for the mass group of variables to be deleated.Whne i delete one or two variaables and click ok it finishes in 2 or 3 secs but when i delete multiple variables from 10 to 50 or more it usualy takes about an hour.What can i do to reduce the time for it to procced?
By not using GUI? Use vJASS where it is done practically instantly.

Seriously, this is probably a limitation with how the variable window is built. It probably deletes variables 1 by 1 causing a long delay each time due to inefficient algorithms.

As far as I am aware: nothing. Just do less at a time. You could probably edit the war3map.j and delete them from the globals block but idk if that would stick once you opened the map in the editor again.
It will not be present as the editor never parses that file.

However he could edit the GUI trigger data binary file. The variables are probably declared in there somewhere. Might take longer then using the editor though, especially if one factors in having to write the necessary tools.

Why are you needing to delete so many variables?
Revisions, optimizations or cleanup. It is fairly common when programming to delete code during those activities.
 
Why are you needing to delete so many variables?
I asked eagleman for copy of unprotected AWLR.Luckuly he allowed me and gave me link.Now i only need to clear triggers and variables.Triggers got cleared and variables take longer to clear when they are a massed.nd by some miracle when i tried today in the morning they just got deleted without any delay nor time cost.After that i just looked at the variable bar and all of them suddenly gone without any delay.I was like "lol" is this possible because when i tried to do that with my own maked maps it would take an hour or more to delete them.
 
By not using GUI? Use vJASS where it is done practically instantly.

Seriously, this is probably a limitation with how the variable window is built. It probably deletes variables 1 by 1 causing a long delay each time due to inefficient algorithms.


It will not be present as the editor never parses that file.

However he could edit the GUI trigger data binary file. The variables are probably declared in there somewhere. Might take longer then using the editor though, especially if one factors in having to write the necessary tools.


Revisions, optimizations or cleanup. It is fairly common when programming to delete code during those activities.
Sorry but how to delete variables with vJASS or GUI can you send me tutorial or link where i can learn because i am new when it comes to coding?
 
In vJass you define variables by typing them out. ie.
JASS:
local unit u = GetTriggerUnit()
JASS:
globals
player Host = Player(0)
endglobals
To delete these you would backspace.

In GUI you go to the interface and create a variable. And then to delete you have to go to the interface and press the delete key or click the delete variable button.
 
Sorry but how to delete variables with vJASS or GUI can you send me tutorial or link where i can learn because i am new when it comes to coding?
In vJASS you just delete the declaration line, or lines.

To delete these you would backspace.
Or drag select and backspace/delete.

The gist of the story here is that GUI in WC3 is very poorly implemented. This is not SC2 GUI.
 
Status
Not open for further replies.
Back
Top