YolkfolkThe Dizzy Fansite 0 logged in0 playing
Community discussion

Movement

Started by A Cool Guy on 5 August 2010 • 2,987 views

4 posts
#54772
Is there any way to temporary switch the controls so all the controls are opposite just for the one room so up is down and left is right and so on.
👍 0
#71252
I used this for MRD

func UpdateRoom_*_*()
{
keyleft = GetKey(KEY_LEFT);
keyright = GetKey(KEY_RIGHT);
SetKey(KEY_LEFT,keyright);
SetKey(KEY_RIGHT,keyleft);
}

I don't think there was anything else.
👍 0
#71253
that's pretty much the jist of it. If you want it for more than one room you can set it in the update handler and check it using a variable, but it's essentially the same thing.
👍 0