blender 2.71 mouse lock

hello, i’m using blender 2.71 to complete an older project i have started a long time ago. blender 2.71 don’t have mouse actuator, so i’m using an mouse lock script. with float properties called “Cap” we can limit the mouse rotation, in my case i have set it to 30, but the rotation limit affect the up and down rotation, and i want to limit only the down rotation to 30 and the up rotation to 90, any tips to do this?


MouseLook.blend (530 KB)