System GUI MUI System

U are a noob

Mega Super Ultra Cool Member
Reaction score
152
I cancelled that classroom... :D

But I was doing that stuff a lonnnngg time ago.
I KNEW how to use custom values of units, but I never really did. I mostly used unit variables along with booleans with arrays n stuff.
I've have been mapping since 04.
hahahaha, i will not criticize your tutorial, cause its no bad.
But why you dont teach, how to use Handles in JASS? its more efficient.
Are you talking about me or elmst?
________________________
Check Out my MUI System for GUI
 

elmstfreddie

The Finglonger
Reaction score
203
So what if you've been mapping since '04? I think I have too, but I was self taught until December of last year.
 

U are a noob

Mega Super Ultra Cool Member
Reaction score
152

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
Nobody finds this interesting? I figured it would send the GUI-aholics into coniptions when they found a system they could use to easily make things MUI.


Seems kind-of odd...
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
it's such a complicated and long way to make MUI i got a lot shorter way than this way and much easier to work with.......
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
It's not complicated! The system itself works in a slightly complicated fashion, but not really...


The only thing you have to do is use arrays for all your variables!
 

denmax

You can change this now in User CP.
Reaction score
155
I have read it, but then I have observed that if each player has the same unit which is at a greater value than 1, then it would be possible that 2 of the arrays would occur at another player, using the (Player Number (Owner of (Picked/Casting Unit)) would then have always one unit for each player.

The only thing I read is the FIRST and the SECOND codes so sorry if I maybe wrong..

EDIT: Nevermind.. Sorry for wasting your time..
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
well u could also make it a lot shorter....
and i dunno why u don't let it pass the 8191.... i never heard an integer variable or custom value has a max of 8191.....
so u could have made it a lot shorter eventually...
 

U are a noob

Mega Super Ultra Cool Member
Reaction score
152
well u could also make it a lot shorter....
and i dunno why u don't let it pass the 8191.... i never heard an integer variable or custom value has a max of 8191.....
so u could have made it a lot shorter eventually...

..... The units value will go pass 8191 but when you reference it in a spell in a array the array will only go up to 8191
________________________
Check Out my MUI System for GUI
 

Pyrogasm

There are some who would use any excuse to ban me.
Reaction score
134
Try it. I dare you.

If you reference a variable index bigger than 8191, the game will either freeze or crash.

What do you mean by "well u could also make it a lot shorter...."? Make what shorter, and how?
 

U are a noob

Mega Super Ultra Cool Member
Reaction score
152

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
i was wrong about the unlimited number since i forgot i still need to use arrays so the i was wrong there about that and i need to limit to 8191
yet here's a shorter way to do and work with:
Code:
MUI GUI Init
    Events
        Map initialization
    Conditions
    Actions
        Custom script:   set bj_wantDestroyGroup = true
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
            Loop - Actions
                Set Integer = (Integer + 1)
                Unit - Set the custom value of (Picked unit) to Integer
Code:
MUI GUI Enters
    Events
        Unit - A unit enters (Entire map)
    Conditions
    Actions
        Set Integer = (Integer + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Integer Equal to 8192
            Then - Actions
                For each (Integer A) from 1 to 8191, do (Actions)
                    Loop - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                Number[(Integer A)] Equal to 0
                            Then - Actions
                                Unit - Set the custom value of (Triggering unit) to Number[(Integer A)]
                                Set Number[(Integer A)] = 0
                            Else - Actions
            Else - Actions
        Unit - Set the custom value of (Triggering unit) to Integer
Code:
MUI GUI Example
    Events
        Unit - A unit leaves (Entire map)
        Unit - A unit Dies
    Conditions
    Actions
        Set Number[(Custom value of (Triggering unit))] = (Custom value of (Triggering unit))
 
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