Ey, how do i work with varibles in blender?

I want something to look like this:
If varible is slow, set room 1playerslow
if varible is fast. set room 1playerfast
Someone there can help with my problem?

look up properties. thats what they are called in blender.

OK Nunchako here i write a small example for you
the used of variables and propertys in gameengine
you can change the velocity with: S or F and move with the cursor keys
you can download the blend here:;8895825;/fileinfo.html
good luck

The file does’t work:(
Can you fix it?

ok Nunchako
you can download the same file here:;8901333;/fileinfo.html