A simple script to rotate the camera Z angle while strafing left or right.

Two scripts really, first one is a "rigid" rotation, quick and fast. The second script is a more smooth transition with a natural movement.

Axis has been corrected but can be easily changed. Also amount of axis movement can also be adjusted.

Have fun, play hard

Quick rigid rotation...

:state=0:state=1
:state=1,scancodekeypressed=30:state=2
:state=1,scancodekeypressed=32:state=3
:state=2:setvar=$CAZ 15,state=4
:state=3:setvar=$CAZ -15,state=4
:state=4,scancodekeypressed=0:setvar=$CAZ 0,state=1

Smooth natural rotating movement...

:state=0:dimvar=camz,setvar=camz 0
:state=0:state=1
:state=1,keypressed=30 1:incvar=$CAZ 1,addvar=camz 1,state=2
:state=1,keypressed=32 1:decvar=$CAZ 1,subvar=camz 1,state=3
:state=2,keypressed=30 0:setvar=$CAZ 0,setvar=camz 0,state=1
:state=2,varnotequal=camz 10:state=1
:state=2,varequal=camz 10:state=6
:state=2,keypressed=32 0:setvar=$CAZ 0,setvar=camz 0,state=1
:state=3,varnotequal=camz -10:state=1
:state=3,varequal=camz -10:state=7
:state=6,keypressed=30 0:setvar=$CAZ 0,setvar=camz 0,state=1
:state=7,keypressed=32 0:setvar=$CAZ 0,setvar=camz 0,state=1

Video show both scripts working ....

My games never have bugs.... they just Explosys's

** WHERES MY YELLOW BUTTON ? **