Demo Map Triggers - Multi-Unit Instanceability (MUI)

Tyrulan

Ultra Cool Member
Do you reset the trigger count again after using wait while in a loop? Does this still work?
 

jig7c

Stop reading me...-statement
yes it works, you don't reset the trigger count, it'll do it by itself when the trigger count reaches a certain number, in this example 50
 

Tyrulan

Ultra Cool Member
I'm a little confused on how to really apply this to my map. I love to make my spell MUI but I don't understand what he's done. The function of each line of Custom Script? I am writing in Jass.. not using custom scripts.
 
If you are using JASS, you don't need to see this.

Locals will make your spells MUI.

If you have need struct attaching, use TimerUtils.

If you need any kind of unit attaching, use PUI.
 

simonake

New Member
Couldn't this Gui method work?
Trigger:
  • Actions
    • Set LocExecCount = (Execution count of (This trigger))
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • LocExecCount Equal to 50
      • Then - Actions
        • Custom script: call ResetTrigger(GetTriggeringTrigger())
      • Else - Actions
    • Set TriggerExecCount = LocExecCount
 

Sooda

Diversity enchants
No, because all your so far used variables are globals. When you add wait somewhere in that trigger then with new trigger fire old variable values could be overwritten.

It is possible to make MUI triggers with global variables, it is explained in wc3 wiki: http://wiki.thehelper.net/wc3/MUI
 

tooltiperror

Super Moderator
Staff member
I think this is very good for me, (A GUI user who doesn't have the time to learn JASS right now;) to create MUI.

As many people mentioned, JASS can make a simple MUI, but I guess this helps others a lot, such as myself.

I also want to point out that I feel this should be a tutorial, because it really does teach me how to create MUI.

+Rep, Great Tutorial!


Ignore all that, it was far easier when I just went out and really learned JASS.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    The old shoutbox wasn't supported anymore. We updated xenForo, so it had to be replaced.
  • jonas jonas:
    let's see if everyone finds it... the nice thing about the shoutbox was I could check on it even while logged out, but the existence of this one is hidden when you're not logged in
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.
  • Varine Varine:
    Unbelievable. Time for yourself? How dare you!

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top