Hi all. This may be really stupid of me but I was wondering how you make timer windows disappear. I've tried using the timer hide and timer show functions but they do not seem to have any effect. Is this a bug with galaxy? Any help would be much appreciated as I am putting the finishing touches on a King of the hill map and at the moment there are 6 timer windows showing constantly which clutter the screen up.
Thanks in advance
Satch
Then you might need to post your trigger here for ppl to find your problem. You might forget to reference the timer variable somewhere, pointing it to a null value etc..
Ok here are the appropriate methods for my script. As you can see the timers are initialised and instantiated at melee initialisation. They are all told to hide immediately after being initialised (rather than using the start hidden parameter as i could not get them to show up again afterwards.)
Everything else is working. just cant seem to get them to disappear. The timers are told to show up and hide at appropriate times such as a player entering the hill or leaving the hill.
Bizarre. I can't pick the problem, just going off the screen shots. You don't accidentally redefine the timer windows in a trigger somewhere do you?
Could you do a simple test of a basic timer trigger on a fresh map and post the results? Just use two triggers: the first to make a single timer and display it on map initialisation, and the second to hide window command when you press a certain key, or a certain length of time has elapsed.
Ok... so I tried making a basic map which hides a timer when a unit enters a region and shows it when they leave. Attached are screenshots of the maps and triggers, and as you can see (as with my other map) I have global variables for the timers. I did notice when i create the timer window that it does not ask me to link it to the global variable. I think this may be the root of the problem. How do I create the global variable timer window rather than just a default one?
I tried placing the variables above the triggers to no avail i'm afraid. It is reading them from below the triggers and is not dependant on their relative position.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi all. This may be really stupid of me but I was wondering how you make timer windows disappear. I've tried using the timer hide and timer show functions but they do not seem to have any effect. Is this a bug with galaxy? Any help would be much appreciated as I am putting the finishing touches on a King of the hill map and at the moment there are 6 timer windows showing constantly which clutter the screen up. Thanks in advance Satch
You sure you havent' tried these ?
http://wiki.sc2mapster.com/galaxy/triggers/destroy-timer-window/
http://wiki.sc2mapster.com/galaxy/triggers/show-hide-timer-window/
I've tried both of these and for some reason the timer window is still there.
Then you might need to post your trigger here for ppl to find your problem. You might forget to reference the timer variable somewhere, pointing it to a null value etc..
Ok here are the appropriate methods for my script. As you can see the timers are initialised and instantiated at melee initialisation. They are all told to hide immediately after being initialised (rather than using the start hidden parameter as i could not get them to show up again afterwards.) Everything else is working. just cant seem to get them to disappear. The timers are told to show up and hide at appropriate times such as a player entering the hill or leaving the hill.
@Satchelmouth: Go
Bump
Bizarre. I can't pick the problem, just going off the screen shots. You don't accidentally redefine the timer windows in a trigger somewhere do you?
Could you do a simple test of a basic timer trigger on a fresh map and post the results? Just use two triggers: the first to make a single timer and display it on map initialisation, and the second to hide window command when you press a certain key, or a certain length of time has elapsed.
This thread is 3 days old and nobody has yet pointed out that he isn't initializing the variables before he's using them?
That could well be it :P I just assumed he had them defined somewhere else.
Might help if he posted in the right forum where more people read ^_~
I have global variables for all timers and timer windows. Im not that stupid lol
he means place the timer variables higher on the list than the trigger... the trigger reads from top to bottom.
(move the variable map to the top of the trigger list)
Ok... so I tried making a basic map which hides a timer when a unit enters a region and shows it when they leave. Attached are screenshots of the maps and triggers, and as you can see (as with my other map) I have global variables for the timers. I did notice when i create the timer window that it does not ask me to link it to the global variable. I think this may be the root of the problem. How do I create the global variable timer window rather than just a default one?
I tried placing the variables above the triggers to no avail i'm afraid. It is reading them from below the triggers and is not dependant on their relative position.