Hello,
My friend and I make a dream labyrinth in the Blender game engine.A user is moved to the different rooms of it with dependance on its position and time. We need a cycling time property from 0 to 9 for that.Since we cannot program I played a while with logic bricks but with no real success.Could anybody write a script for us ?
I think a Python script controller should be connected to a timer property sensor and a result of the script should be sent to a float property.The logic of the script should look something like this:
When 9n=<timerproperty<9(n+1) where n is an integer between 0 and infinity (including 0),
then cycling time property (that we want)=timerproperty-9n.
I hope I am right.If there is a different solution,please, tell me.
I thank for your help.
Petr Kames