• 🏆 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!

[Trigger] What does MUI improtantly Need?

Status
Not open for further replies.
Level 40
Joined
Dec 14, 2005
Messages
10,532
All an MUI spell is is a spell which does not make use of any global resources (triggers turned on/off, global variables etc) for a non-zero amount of game time for a single casted instance to function. If your spell occurs instantly, odds are it's multiinstanceable without any further work. If not, you need to use better methods of data storage, such as an indexed array or a hashtable.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
MUY requires you doing something with each specific unit in the game, or those involved with an ability.

You can access specific units by a Hashtable (using their Handle Id) or by an Indexing System (You can find here on Spell section); these are the best ways.

Look in Spell section for approved spells and systems, since they're all MUI, and see how they're done.
 
It requires either hashtables or indexing which is useing arrays and loops.

THAT IS NOT TRUE...

this is MUI without any hashes or loops

  • Events
    • Unit - A unit starts the effect of an ability
  • Actions
    • Unit - Cause A to damage B dealing 100000 damage
yeah, just read the tutorials on the tut section and look at the approved spells to get the idea...
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
My way of learning how to make triggers MUI;
1. Read tutorials
2. Practice from tutorials
3. Take a look at the Spells Section
4. Download (those spells) it and dissect those triggers part by part until you know how to get it work.
 
Status
Not open for further replies.
Top