Trigger-Locals?

Pahl

New Member
Reaction score
7
1. Is it possible to make vars that are local for the whole trigger so to speak, like the "normal" variables (udg_XXX) but still MUI.

2. Does static variables exsist? What other types are there?

Am i making any sense?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Locals are local to the function that created them.
If you call another function, they won't exist there.
They may be passed as parameters or returned as results.

There are no statics. Use globals.

As for the types, have a look at common.j and blizzard.j.
Or make a GUI trigger that uses each type once and "convert to custom text".
 

SFilip

Gone but not forgotten
Reaction score
634
what exactly are you trying to do? you can use parameters or maybe even local handle vars if you need to "move" one local to another function.
 
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