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

[Trigger] how do i do MUI

Status
Not open for further replies.
Level 8
Joined
Jul 23, 2005
Messages
329
Although I would recommend you learn JASS, MUI in GUI would be very difficult.

The only answer I can give you is to create a seperate trigger for every player that can activate the ability/trigger you wanted to make MUI.

The reason if/then/else and for loops are ineffectual for MUI in GUI is that the same trigger cannot revert back to an action in the beginning (Which would be required if, say, a unit cast the same spell while another was half-finished) without use of the loop. However, even if the loop were implemented, it would have to keep ON looping to check if anybody else cast the spell while it was off finishing another spell, causing an infinate loop :(.

Someone else might know though.
 
Level 9
Joined
Jun 26, 2005
Messages
511
but then they say it takes 2 years to learn JASS, it sounds kinda scary, and ive tried to learn to awhile ago, and got lost at a few begining step.

i tried using variable unit, and do - Set Variable (unit)[player number of owner of casting unit] = casting unit. does this work?
 
Level 9
Joined
Jun 26, 2005
Messages
511
  • Set TempUnit[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
i did this, but it was still not MUI, do i have to do this to every variable?

EDIT: i did be happy to learn JASS, any sites with a easy tut? but currently i dont have time for it, am making spells for a hero spell contest.
 
Level 9
Joined
Jun 26, 2005
Messages
511
well, i looked at the sites, i dont know a thing about JASS, so that fact i dont know a thing their saying >.>

btw it is possible if i make a trigger for every player for the spells right? so do i make those every player a variable, or make for every player a set of spells.

and do you have any ss or triggers i can see to see how MUI works? i could use it in a hurry.
 
Level 9
Joined
Jun 26, 2005
Messages
511
i think my spells are so far good, i like them and only one more spell before i can submit the map as resource, but i first have to learn how to do MUI, i would do it anyway, hard or very hard, as long as it works with loop and if/then/else.
 
Status
Not open for further replies.
Top