• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Mui ?

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
A single running trigger, does it MUI ?
Example:
  • Force Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Force
    • Actions
      • Set CasterLoc = (Position of (Triggering unit))
      • Unit - Move (Target unit of ability being cast) instantly to CasterLoc
      • Unit - Add Crow Form to (Target unit of ability being cast)
      • Animation - Change (Target unit of ability being cast) flying height to 300.00 at 150.00
      • Special Effect - Create a special effect attached to the chest of (Target unit of ability being cast) using Objects\Spawnmodels\Orc\OrcSmallDeathExplode\OrcSmallDeathExplode.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Kill (Target unit of ability being cast)
      • Custom script: call RemoveLocation(udg_CasterLoc)
Does it ?
 
Yes, it is MUI. If a spell isn't MUI, that means that it can't be run with multiple units. That usually means that incorrect data is being retrieved. For timed spells, this is common because global data is lost if another unit casts the spell during the timed duration. The fix is any sort of data storage. However, for instantaneous spells such as the one you posted, it doesn't matter. Even if they are cast at the same time, wc3 will process either one before the other, and since there is no time duration involved in it, it will run without any problems.
 
Status
Not open for further replies.
Top