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

Mui Question

Status
Not open for further replies.
Level 4
Joined
Jun 25, 2010
Messages
94
  • Test
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Set TIndex = (TIndex + 1)
      • Set TIndex2[TIndex] = TIndex
      • Set TIndex = (TIndex - 1)
Just trying to learn about mui here and i just so happened to stumble across this. Would this be considered "Mui"?
 
Level 9
Joined
Apr 23, 2011
Messages
460
To further explain the purpose of MUI, MUI means multiple user interface and means simply that the script can run multiple times for multiple players at the same time without snagging or using waits in the script.

Onto your sample piece of script, considering it MUI is difficult, however I guess it can be considered MUI. Knowing more about the application of this coding would help, but in essence, it would be MUI, but also pointless. It would simply increase the integer, store it, and decrease the integer, looping endlessly. If you have any other questions about MUI coding feel free to post it and I'm sure someone here can be of assistance.
 
Level 4
Joined
Jun 25, 2010
Messages
94
Well maker the idea was that it would work like this :
Unit 1 casts, increase Tindex by 1, and set that as the "Array number call", ( Tindex2[1] ) so it would know who uses what and then set the number for the variable 1.

Unit 2 casts, increase Tindex by 1, and do the same as last time, that way the Tindex2 would be Tindex[2] with the value of 2 this time. This way it would not overwrite the information though i may be completely wrong. Though the flaw in this is that you don't know what the "array call number", is so it basically doesn't work :/.

Edit : @ khamarr3524 well this has no spell in it so ofcourse it would just increase and decrease but the question i asked was "would this be considered mui?", thanks for your answer anyways though.
 
Status
Not open for further replies.
Top