Editting/Deleting existing Timers?

Non-platform specific questions.

Editting/Deleting existing Timers?

Postby 8bitsdeep » Mon Apr 23, 2012 12:11 am

I've created a few timers for my game and I'd like to go back and tweak their settings. However, it seems like there's no way in the editor to change the settings of an existing timer. I wouldn't mind just remaking the timers but I don't even see an option to delete them.

Is there a way to do this? Seems like a weird omission in the program.
8bitsdeep
 
Posts: 5
Joined: Tue Apr 17, 2012 5:24 pm
Score: 0 Give a positive score

Re: Editting/Deleting existing Timers?

Postby skydereign » Mon Apr 23, 2012 3:21 am

The way gE does timers and sounds/music is a little weird right now. This will be improved at some point, but for now we have to use what is there. Timers can't be deleted directly, but if you remove all references to them (no events tied to them, and no calls to CreateTimer) the timer will be removed. Timers can't be edited either, but you can use a timer for any amount of time. So if you create a normal 1000ms timer, you can use it as a 2000ms timer if you call it in the script editor (just change the time argument).
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest