Staredit Network > Forums > SC2 Assistance > Topic: Timers
Timers
Aug 22 2010, 8:34 pm
By: Alzarath  

Aug 22 2010, 8:34 pm Alzarath Post #1

Praetor

So here's what I have:

Code
   Actions
       Timer - Start Obliteration Timer as a One Shot timer that will expire in 10.0 Real Time seconds
       Timer - Create a timer window for Obliteration Timer, with the title "Obliteration", using Remaining time (initially Visible)
       Timer - Set timer for Obliteration Timer Window to (Last started timer)
       General - Wait 10.0 Real Time seconds
       Timer - Destroy Obliteration Timer Window


The timer starts up and counts down well, but the timer isn't removed.



None.

Aug 22 2010, 9:03 pm Temp Post #2



Do you mean the timer window or the timer?



None.

Aug 22 2010, 9:11 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

TimerStart((TimerCreate()),5.0,false,c_timeGame)
TimerWindowCreate((TimerLastStarted()),"",true,false)
TimerWindowSetTimer((TimerWindowLastCreated()),(TimerLastStarted()))
Wait(5.0,c_timeGame)
TimerWindowDestroy((TimerWindowLastCreated()))


That works for me. I think I'm doing the same except the time and time type. :S
Maybe try it with saving the window in a variable...




Aug 22 2010, 9:15 pm Alzarath Post #4

Praetor

I already have it in a variable. Maybe that's what's wrong.

Yup, got rid of adding it to a variable and just made it 'Last Created timer window'. Works fine now.

Post has been edited 1 time(s), last time on Aug 22 2010, 9:30 pm by Artanis186.



None.

Aug 22 2010, 11:58 pm Temp Post #5



That may be because you never set the variable to the last created timer window.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-11-21. : 7:14 pm]
Symmetry -- so it shows the version history of temple siege
[2026-11-21. : 7:13 pm]
Symmetry -- I think he's trying to find the most popular versions of maps
[2026-11-21. : 9:24 am]
UndeadStar -- yes it helped...but I didn't understand what the picture was about lol
[2026-11-21. : 6:10 am]
NudeRaider -- UndeadStar
UndeadStar shouted: I somehow don't dare to look at an image without explanation from someone called Decency. Reverse psychology maybe?
does it help your fear when I tell you he used to call himself FaZ-?
[2026-11-20. : 5:02 pm]
UndeadStar -- I somehow don't dare to look at an image without explanation from someone called Decency. Reverse psychology maybe?
[2026-11-19. : 10:19 pm]
Decency -- https://i.imgur.com/DMFELQd.png
[2026-11-19. : 9:16 pm]
ihjel -- No bots online :omfg:
[2026-11-19. : 8:15 pm]
Moose -- o, I thought it was EUD, gg
[2026-11-19. : 3:58 am]
Symmetry -- Reindeer breeding 2 is not EUD and errors when I try to upload
[2026-11-19. : 12:26 am]
Moose -- Symmetry
Symmetry shouted: yeah uploading for me has been a 50/50 toss up here lately
certain EUD maps segfault the map parser, :farty: ignore me the last time I complain at him. :crybaby:
Please log in to shout.


Members Online: Symmetry