hey, i have this scope code for my FPS game and i\'m wondering how do i decrese the speed of my camera movement for the scope.
here is the code:
if Xbox360=1
`Camera movement
`Right stick cam Movement
Camy#=Camy#+controller thumb right x(0)*.00006
Camx#=Camx#+controller thumb right y(0)*-.00007
IF Camx#>90 AND Camx#<135 THEN Camx#=90
IF Camx#>270 AND Camx#<225 THEN Camx#=90
YROTATE CAMERA Camy#
XROTATE CAMERA Camx#
YROTATE OBJECT 1,Camy#
XROTATE OBJECT 1,Camx#
`restricts your camera so you can\'t look upside down
if wrapvalue(camera angle x(0))>85 and wrapvalue(camera angle x(0))<180 then xrotate camera 0,85
if wrapvalue(camera angle x(0))>180 and wrapvalue(camera angle x(0))<290 then xrotate camera 0,290
endif
`scope
if Xbox360=1
if controller trigger left(0)>50
target# = 10
paste image 61,-184.5,-265,1
offset limb 1,1,0,0,1000
YROTATE CAMERA Camy#
XROTATE CAMERA Camx#
else
target# = 91
endif
current# = curvevalue(current#, target#,5)
set camera fov current#
endif