Converting a trigger to MUI

Xebarsis

New Member
Reaction score
7
I have a spell that traps a bunch of units in web, then after 10 seconds the web is removed from the inflicted units. Unfortunately, if a player casts two different webs, the first group that was webbed does not have their buff removed... which is bad because it means they're stuck forever. I need some help converting this trigger to MUI:

Trigger:
  • Giant Web
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Giant Web
    • Actions
      • Set WebGroup[(Player number of (Owner of (Triggering unit)))] = (Units within 350.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
      • Set TheOtherPoint = (Target point of ability being cast)
      • Unit - Create 1 Dummy Web for (Owner of (Triggering unit)) at TheOtherPoint facing Default building facing degrees
      • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation (udg_TheOtherPoint)
      • Unit Group - Pick every unit in WebGroup[(Player number of (Owner of (Triggering unit)))] and do (Actions)
        • Loop - Actions
          • Set ThePoint = (Position of (Picked unit))
          • Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at ThePoint facing Default building facing degrees
          • Unit - Add Giant Web (Single Target) to (Last created unit)
          • Unit - Order (Last created unit) to Undead Crypt Fiend - Web (Picked unit)
          • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
          • Custom script: call RemoveLocation (udg_ThePoint)
      • Wait 10.00 seconds
      • Unit Group - Pick every unit in WebGroup[(Player number of (Owner of (Triggering unit)))] and do (Actions)
        • Loop - Actions
          • Unit - Remove Giant Web (Air) buff from (Picked unit)
          • Unit - Remove Giant Web (Ground) buff from (Picked unit)
 
Why don't you just make the web last 10 seconds in the object editor? Is there something wrong with doing it that way?
 
Why don't you just make the web last 10 seconds in the object editor? Is there something wrong with doing it that way?

In the future I plan on making it so that if someone walks into an already placed web they get trapped as well.
 
Alright, well could someone at least tell me how to clear this leak?

Trigger:
  • Set WebGroup[(Player number of (Owner of (Triggering unit)))] = (Units within 350.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True))
 
Well there is an easy way ...... use CLUSTER ROCKETS and change it's models to WEB and stun to 10 seconds and change the buff to a WEB....... so they are trapped in the WEB = Stunned for 10 seconds......... easy object editor manupilation :)
 
if you want to learn mui look at sodas guide and download the demo. read everything in the map and the guide and you will know everything. i learned mui after half an hour maby with this guide
 
Well there is an easy way ...... use CLUSTER ROCKETS and change it's models to WEB and stun to 10 seconds and change the buff to a WEB....... so they are trapped in the WEB = Stunned for 10 seconds......... easy object editor manupilation :)

I thought that was a fantastic idea to begin with, but then I realized that it wouldn't just trap the enemy, it would prevent them from attacking, casting spells, using items, etc. I just want the units to be immobilized from movement.
 
Try creating a dummy unit that has the web model. Then use a trigger that is when someone comes close to any dummy unit, another dummy unit is created and throws a web on the unit.
 
Try creating a dummy unit that has the web model. Then use a trigger that is when someone comes close to any dummy unit, another dummy unit is created and throws a web on the unit.

Well, what I'm trying to accomplish when it comes to a unit walking into the web and getting trapped, I want it so that once the giant web expires, the web is removed from everyone in that area regardless of when they walked into the web.

I could make it so that it removes the buff from anyone around the dummy unit when it dies, but the only issue is if there's two webs in the same area.. which brings us back MUI.
 
read sooda's tutorial, the one i posted earlier, and it'll become MUI...
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/
  • The Helper The Helper:
    Happy Thursday!
  • Ghan Ghan:
    I'm not so sure, there's still a lot of Thursday left for it to become unhappy.
    +3
  • The Helper The Helper:
    still a few hours
  • The Helper The Helper:
    Its Friday!!!!
    +1
  • Ghan Ghan:
    Thursday 7/10 would Thursday again
    +3

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top