[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...
 
Status
Not open for further replies.
Top