Few JASS Questions

RaiJin

New Member
Reaction score
40
1. The hell is textmacro?
2. What is textmacro used for?
3. How to use it? (Can u please post a demo of how to do it and what it looks like :D)


4. I heard using waits in loops just screw everything up this true?

5. I heard structs are bad to use because they hold a lot of data and they are slower than globals. BUT i also heard structs are just global arrays so whats the difference.
 

Azlier

Old World Ghost
Reaction score
461
1. Have you tried reading the Jasshelper manual?

2. Making things easier. And shorter.

3. A demo map... for textmacros? This is madness.

4. Nonsense. TriggerSleepAction works just fine in loops. It's not wise to use it in GUI loops, though, because Integer A/B is a global that can be overwritten.

5. Hold a lot of data? What? Structs are just fine to use. True, global arrays are a bit slower than a plain global, but you don't need a struct if you can use a plain global instead.
 

Tom Jones

N/A
Reaction score
437
1-3: Read the Jasshelper documentation that comes with the NewGen editor.
4: Depends on how you code your loop.
5: Structs are, as you say, essentially just global arrays, so the first thing you heard is incorrect.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top