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!
so i want to make this spell using triggers and variables and i want so that 2 or more units can cast that spell at the same time without screwing up the variables and all
how can i do that?
i don't have any trigger available but give me an example of MUI trigger that does:
unit uses spell on target unit, target unit is stored in a variable with a couple of points too and then performs whatever actions for 10 seconds. But if a different unit casts the same spell on another unit the variables change to the new unit screwing up the first. That is my problem.
Is MUI seriously that easy in Jass?? WTF, and Ive been screwing around with GUI this whole damn time!!?!?! OMFG!!!
Anyways if you're using GUI and u wanna make it MUI, start with assigning the casting unit to a variable with an array, and assign it an array in the trigger for casting the spell. Then at the bottom line of the trigger change the array (which is an integer BTW) that the unit is assigned to (Integer = Integer (+1)). It should come to you from there. If that doesnt make sense, which it probably wont, look up almost any spell that has been approved, and open it in WE. Wow, explaining MUI in Jass was WAY easier. Though im wondering how u and i dont get overwritten.??
Okay* read a tutorial and found out. If your spell uses another trigger to do the actions, the Jass way doesnt quite work, (Unless you know how to do full Jass). But mixing Jass and GUI wont work in that case.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.