Mui Globals

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
To be able to have a value, mui that I can use trought functions, what do I have to use?
Is it "private struct data"?
 

Frozenhelfir

set Gwypaas = Guhveepaws
Reaction score
56
MUI means that the same variable can't be used in different function calls. This rule generally applies when you have waits or timers in which the trigger could set the globals to a different value. Globals can be MUI if the function has no wait/timer, but if you aren't calling any other functions you should just use locals. If you need globals, structs are better for MUI.
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
MUI means that the same variable can't be used in different function calls. This rule generally applies when you have waits or timers in which the trigger could set the globals to a different value. Globals can be MUI if the function has no wait/timer, but if you aren't calling any other functions you should just use locals. If you need globals, structs are better for MUI.

TYTy
Link to a tutorial on structs?

Basicly, I need a callback for my trigger and, mui globals by the same occasion.
 
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