Timer Information Change

Game Editor comments and discussion.

Timer Information Change

Postby Zaiquiri » Mon Sep 22, 2008 6:00 pm

How do I change values associated with a timer? For example, if I want an actor to randomly move once a second, I would create a timer for 1000 ms and associate accordingly. However, if I want to change the timing to say 500 ms, how do I change that variable for the timer? Thanks.
Zaiquiri
 
Posts: 1
Joined: Mon Sep 22, 2008 5:48 pm
Score: 0 Give a positive score

Re: Timer Information Change

Postby Thanx » Thu Sep 25, 2008 8:09 pm

Technically, GE would want you to make a new timer with a different interval.
However you can work around this by putting the Timer's function in the script editor. There's obviously an action for creating the timer, make that action a script editor action, and in the bottom you'll see a variables/functions captioned button, click that, and look up the Create Timer function. The good old friendly winow appears, enter the apropriate values, then it creates a line of code. Change the last number in the brackets to the right number of miliseconds. Then click ok, immediate action, as usually, and that's it. :wink:
http://www.youtube.com/watch?v=XyXexDJBv58
http://www.youtube.com/watch?v=Be4__gww1xQ
These are me and playing the piano (second one with a friend/fellow student)
Hope you watch and enjoy!
User avatar
Thanx
 
Posts: 314
Joined: Sat Jan 26, 2008 10:07 pm
Location: Home sweet home! :)
Score: 24 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron