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

Need help MUI

Status
Not open for further replies.
Level 10
Joined
Apr 13, 2005
Messages
630
Anyone know how to make a spell mui.

ive been reading alot of mui spells and they been having this wierd set up then the trigger. the set up was like this

set integer i = i+1
set integer l = i+l

then do an integer A thru 1 and integer l.

Does this have anything to do with MUI or am i all wrong
 
Yes - you would need to make an array of the units/unit groups etc affected by the spell, then loop through the array depending on how many instances of the spell are running at the time, which would be a variable called Total or Index or something similar, which would be increased every time the spell is cast, and decreased every time the spell finishes. Someone else may be able to explain it better than I if you don't understand.
 
Status
Not open for further replies.
Top