- Joined
- Feb 11, 2010
- Messages
- 199
So, I've got a 95% finished spell that requires that the casting unit be hidden during the effect then unhidden when the effect is finished. When unhidden, I want the spell to check if the player has any units selected and, if not, reselect the casting hero when it is unhidden automatically (to make it more like a spell that *doesn't* involve pausing/hiding).
Now on its face, this would seem simple. You would just have something like so:
This being the case, what sort of workarounds are available? Is there some kind of custom script I can use in place of Blizzard's buggy GUI script? Tell me!
+Rep of course for anyone who can help.
Now on its face, this would seem simple. You would just have something like so:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Units currently selected by ThundergodOwner[ThundergodA]) is empty) Equal to True
-
-
Then - Actions
-
Selection - Select ThundergodCaster[ThundergodA] for ThundergodOwner[ThundergodA]
-
-
Else - Actions
-
-
Selection - Select ThundergodCaster[ThundergodA] for ThundergodOwner[ThundergodA]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Units currently selected by ThundergodOwner[ThundergodA]) is empty) Equal to True
-
-
Then - Actions
-
Game - Display to (All players) the text: Condition Is Working
-
-
Else - Actions
-
This being the case, what sort of workarounds are available? Is there some kind of custom script I can use in place of Blizzard's buggy GUI script? Tell me!
+Rep of course for anyone who can help.
Last edited: