Using a timer

How on earth do you use a timer? The documentation is non existant. I’m trying to play an intro video, wait, then play another. Or is there a better solution to this problem?

wp = WindowProperties()
vp = videoPlayer()“video/company_intro.avi”,0)

t = Timer(30.0,“video/intro_2_high.avi”,0), args=[], kwargs={})

Hmm, this is one of the problems with using the auto-generated Reference manual: it can’t differentiate between things that are widely used and things that are rarely used.

The Timer class is a pretty obscure and largely deprecated interface. The normal way in Panda to make something happen after a period of time is via taskMgr.doMethodLater, as described in the manual.