Image:
 Author: JustBurn Group: Default Filesize: 28.94 kB Date added: 2009-06-07 Rating: 5 Downloads: 575 Views: 838 Comments: 0 Ratings: 1 Times favored: 0 Made with: Phun Tags:
|
This contain 3 timers blocks made out of motors and collisions.
Configure the hinge RPM with 60.0 dividing by the number of seconds. e.g. 30.0 RPM should give a period of 2 by 2 seconds.
Timer 0 Action:
Scene.my.t0a = { (action to take here) };
Timer 1 Action:
Scene.my.t1a = { (action to take here) };
Timer 2 Action:
Scene.my.t2a = { (action to take here) };
"Scene.my.t0s", "Scene.my.t1s" and "Scene.my.t2s" hold the states of the timers to prevent multiple triggers, initialize them to "false" if your creating a new scene.
Enjoy it and hope it's useful for your Phun project.  |
Last edited at 2009/06/08 03:42:20 by JustBurn
Please log in to rate this scene
|