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.
[2024-5-20. : 3:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[2024-5-20. : 4:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[2024-5-20. : 4:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[2024-5-20. : 4:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[2024-5-20. : 3:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[2024-5-20. : 3:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[2024-5-19. : 9:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
Please log in to shout.


Members Online: Roy, 5oliviae7823gB4, jjf28