MUI, need tut.

RedRage

New Member
Reaction score
7
Hi i'm back.
I've looked for MUI tut i saw awhile back ago, but couldn't find it. Wondering if you guys can be of assistance.

It had something like this
Code:
custom script: set local unit (udg_unit)
 

hell_knight

Playing WoW
Reaction score
126
Would not reccamend using global locals as they bug a lot for me , I reccamend making it GUI converting to custom and then make locals with the exact same names as the globals then go through and remove the udg_ prefixes.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> they bug a lot for me

Quite.

Don't use If/Then/Else.
Don't use Pick Every Unit....
Don't use conditions of any kind.

Follow that and you will reduce your chances of it bugging out on you.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
891
> That kinda leaves me with nothing

You're ok if you don't use the local variable in those things.

The problem is that all of those use separate functions.
If you use the local in the Then or Else portion, you should be alright since that's the same function.

But I think GUI creates separate functions for every single condition you put in there.

Pick Every Unit... has to use a code callback ForGroup function for its looping, so you can't use a local in there.

Unless you code it in JASS to fix those things, you're kind of stuck.
And even if you don't use that stuff, there's no guarantee that it will work anyway.
 
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