Page 1 of 1

Detect Sensitivity

Posted: Mon Aug 29, 2005 1:23 pm
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.

Posted: Mon Aug 29, 2005 3:41 pm
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?

Posted: Mon Aug 29, 2005 8:30 pm
by agentmad007
Using elgan script (Planes) and wanna change the sensitivity while flying and get back to the defaut when Not flying.