HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Mixing JASS and GUI and references local variables.

03-08-2005, 04:56 PM#1
Dalten
Being that UMSWE is as good as it is with adding all the JASS functions in the form of GUI, it remains powerful enough to do what I want, so I don't want to take the time to thoroughly learn JASS yet.

TO get my feet wet though, here's what I would like to accomplish:

I have a bunch of strings, full of numbers. The only reason for the strings is ease of data entry, and once the map loads the strings will never be used again.

What I am going to do, is take all the strings(probably like, 30 of them) and assign them to a single Integer Array in the form a matrix. That's fine and dandy and I know how to do all that, but what I would like is to do some of this in JASS(i think).

Would using a local variable for my matrix be any faster than using a global pre-defined variable? All i'm trying to get out of this is the most speed, because I would be accessing data in the matrix several hundred times every 5 seconds of the game time, sometimes maybe even thousands depending on what the player is doing.
03-08-2005, 05:35 PM#2
Guest
That's a tough problem you're having here with the number matrix. I think doing it in GUI or JASS would result with the same delay(s) but maybe there's a way to pass through all lag - the kind of things only Lord Vexorian knows -

In case you did not figure it out (but I guess you did as you say) you can use con(something like concentrated mixed with alternate o_•) text strings to put text together in 1 text string