• 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.

[Trigger] My spell isnt MUI..?

Status
Not open for further replies.
Level 12
Joined
Mar 26, 2005
Messages
790
its isnt MUI


that means, if two or more unit cast this spell at the same time, only one will work.

It is becouse of variables.

One unit begins casting. The FROZEN_CASTER variable will be set to that caster


but the second will begins casting and the FROZEN_CASTER will be set to THAT unit. So every new actions relating to frozen_caster will affect only second unit.
 
Level 11
Joined
Jul 2, 2008
Messages
601
MUI = Multi Unit Instanceable.
MPI = Multi Player Instanceable.

And what was the problem to ask me in your spell thread? =\

Also you can just search through the forum to find out for what that abbreviations stand for. Also making the spell MUI isn't that difficult, search the guide in "Tutorials" directory.
 
MUI = Multi Unit Instanceable.
MPI = Multi Player Instanceable.

And what was the problem to ask me in your spell thread? =\

Also you can just search through the forum to find out for what that abbreviations stand for. Also making the spell MUI isn't that difficult, search the guide in "Tutorials" directory.

Lol because i made this thread before you commented
 
Level 5
Joined
Oct 17, 2006
Messages
151
if you want to make sure that a spell is MUI there are two ways:

If you use a "wait" command make sure there are no "set variable to etc" because this will cause it to overlap. EX:

  • Temp
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(stop))
    • Actions
      • Wait 2.00 seconds
      • Set ETC_TempUnit = (Ordered unit)
      • Game - Display to (All players) the text: (Name of ETC_TempUnit)
This would not work because say someone issued the stop order in that 2 seconds the first trigger will link to the second guy that had the order issued.

However, to make sure that it is indeed MUI instead of using a custom variable you would use a variable inside the trigger. EX:

  • Temp
    • Events
      • Unit - A unit Is issued an order with no target
    • Conditions
      • (Issued order) Equal to (Order(stop))
    • Actions
      • Wait 2.00 seconds
      • Game - Display to (All players) the text: (Name of (Ordered unit))
And there you go. Thats MUI!
 
Status
Not open for further replies.
Top