I mean don't include wait actions as in, those triggers that uses:
Event: Unit starts the effect of an ability
set temp_Group = Units within 300 range of casting unit
wait 10s
Pick all units in temp_Group and kill units.
Doing the above example with global variables will cause overwriting and...
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=48088
Refer to this ability guide, same logic as the unit training button position.
Art - Button position x - y
Thanks for telling me, but I said that in my post. xD
Because the topic starter asked for custom scripts for gui triggers.
In gui created maps, udg are already defined by the variable editor.
udg_unit or udg_u is a commonly used variable in gui triggers.
So using local unit or local...
What is the situation exactly?
I'm a little confused here by wolfieNoCT.
Vicboy's meaning of retilate means that the enemy units auto attack back the attacker.
And wolfieNoCT is giving a solution for units that auto runs away.
From what i think you want, you want a solution for the retilation...
One of the very useful custom scripts is:
local unit udg_u
Great for triggering simple MUI spells.
It makes a local variable out of your user-defined-global variable, it will not conflict with other triggers that use the same variable. Can be used in triggers that has wait actions.
Of course...
TFT = the frozen throne.
Meaning that your map has stuffs that are from the frozen throne expansion.
You need to remove the expansion stuffs so that it will not save as w3x.
But is the classification still there?
You can also set the aqusition range to 50, so that they won't shoot each other on sight.
Off topic: btw, i played your map before, its cool. :)
I fixed it for you.
It is now based off the metamorphosis ability.
Some things for you to take note of:
1. Duration - Hero, it determines the duration of the morph, leave it at 0 for no duration.
2. Duration - Normal, it determines the casting time of the morph, preferbly don't edit this...