Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sequencing Events and Timers
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#2
RE: Sequencing Events and Timers

(08-12-2011, 05:47 AM)rybray Wrote: Trying to teach myself how to use timers. The tutorial from the wiki helped me with the set up, but I am getting errors on lines [11], [14], [15], [17], and [23]. I tried explaining what the lines did in my own terms with the // but they may be incorrect. There were two other questions I had:

-I have seen partSpeed and fEventSpeed used in regard to how long a part of a sequence will be, which is correct?
-How do you determine what goes in OnStart, and OnEnter, they seem very much the same to me. Thank you for your help.

- Yes, but it only works if you write "fEventSpeed" or whatever you decide to call your variable into the timer command. AddTimer("IntroTimer", fEventSpeed, "Intro"); will take whatever "fEventSpeed" equals and use that for the "wait" time.

- OnStart should be used for callbacks, if in OnEnter, they will be called every time the map is entered, which is not what most people want. OnStart should be for the stuff you want to only happen once, while OnEnter should be for the stuff you want to happen more than one time.





Insanity. Static.
08-12-2011, 12:25 PM
Find


Messages In This Thread
Sequencing Events and Timers - by rybray - 08-12-2011, 05:47 AM
RE: Sequencing Events and Timers - by Juby - 08-12-2011, 12:25 PM
RE: Sequencing Events and Timers - by Khyrpa - 08-12-2011, 01:30 PM
RE: Sequencing Events and Timers - by rybray - 08-12-2011, 04:46 PM
RE: Sequencing Events and Timers - by Khyrpa - 08-12-2011, 08:08 PM



Users browsing this thread: 1 Guest(s)