Detect Sensitivity

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Detect Sensitivity

Post by agentmad007 »

Hello,

I need to temporary change the player mouse sensitivity and get it back to the player's defaut when done.

I know i can change the player's sensivity with

Code: Select all

local.player stufftext ("sensitivity "value between 0-20")//Checked the UI
But i Have no clues how to get the previous value used by the player.

Thanks for any help.
Deadly and slient.
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

not sure if you can check and change that remotely, it's a cvar. but it's sensitivty so perhaps...

local.sense = local.player.sensitivity

1 question, why would you want to?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

Using elgan script (Planes) and wanna change the sensitivity while flying and get back to the defaut when Not flying.
Deadly and slient.
Post Reply