darkRae
Ueki Fan (Ueki is watching you)
- Reaction score
- 173
Well, there's this guy who claimed that using one Global variable for a type to be used in every trigger is 'not safe for MUI'
He first commented on my Creeps Unite thread on an Indonesian gaming forum and said that that method I am using is 'not safe for MUI'
In other words, let's say, to clean up Point leaks you created a Point variable called 'TempPoint'. Now this guy said that using TempPoint in every trigger is 'not safe for MUI' (well, in an AoS map, there'll be a looot of triggers for abilities)
For example, you have a lot of triggers like this:
And he said that if two units cast the ability at the same time (which won't happen, since units can't practically cast at the exact same time) the variables will get overridden (thus making it not MUI)
Strange? Yes, that's what I thought too.
I mean, I believe most of all GUI users in the world use the same method, right? (and it doesn't even use Waits)
And yet, there's no known issues involving the method above.
So my question is:
Is there any problems in using the above method for MUI?
(hell, it doesn't even use any Wait)
TBH I want to hear what Acehart has to say about this
If you can read Indonesian, here's the thread link
He first commented on my Creeps Unite thread on an Indonesian gaming forum and said that that method I am using is 'not safe for MUI'
In other words, let's say, to clean up Point leaks you created a Point variable called 'TempPoint'. Now this guy said that using TempPoint in every trigger is 'not safe for MUI' (well, in an AoS map, there'll be a looot of triggers for abilities)
For example, you have a lot of triggers like this:
Code:
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to <...ability...>
Actions
Set TempPoint = ...
Set TempUnit = ...
<...do something for your spell here...>
Custom Script: call RemoveLocation( udg_TempPoint )
And he said that if two units cast the ability at the same time (which won't happen, since units can't practically cast at the exact same time) the variables will get overridden (thus making it not MUI)
Strange? Yes, that's what I thought too.
I mean, I believe most of all GUI users in the world use the same method, right? (and it doesn't even use Waits)
And yet, there's no known issues involving the method above.
So my question is:
Is there any problems in using the above method for MUI?
(hell, it doesn't even use any Wait)
TBH I want to hear what Acehart has to say about this
If you can read Indonesian, here's the thread link