• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Is This MUI?

Status
Not open for further replies.
Level 16
Joined
Mar 27, 2011
Messages
1,349
Is this coding MUI?

  • test
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Unit - Create 1 Footman for (Owner of (Casting unit)) at (Center of (Playable map area)) facing Default building facing degrees
      • Wait 5.00 seconds
      • Unit - Create 1 Footman for (Owner of (Casting unit)) at (Center of (Playable map area)) facing Default building facing degrees
Is the "Casting Unit" affected if the trigger overlaps due to the wait? Or is it MUI?
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
Is this coding MUI?

  • test
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Unit - Create 1 Footman for (Owner of (Casting unit)) at (Center of (Playable map area)) facing Default building facing degrees
      • Wait 5.00 seconds
      • Unit - Create 1 Footman for (Owner of (Casting unit)) at (Center of (Playable map area)) facing Default building facing degrees
Is the "Casting Unit" affected if the trigger overlaps due to the wait? Or is it MUI?

after wait everything could change (like last created unit/casting unit/selling/killing/dying unit etc) except trigger unit, and trigger player, this is the only 2 thing what same till ur trigger last line
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
i hope this is an example trigger, but if not use triggering unit instead (registers faster) and also set centre of playable map as a temporary point, then remove, to clear leaks.

Yeah, just an example trigger. Btw, I didn't know triggering unit was faster. Thanks for that.

Casting unit is not like a local variable, the trigger is not MUI. Using Triggering unit will make it MUI.

Ok, so as long as I use triggering unit, the trigger will be MUI. Thanks.

+ rep to every1.
 
Status
Not open for further replies.
Top