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.
4 posts
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.
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.
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.
Brilliant thanks guys :smile: