As Barnabius says. Whoever wrote that didn't actually understand what the command does. And, it definately should be returning a float. :)
I actually found this command very useful in a model viewer I wrote. I used it to scale the mouse cam zoom rate, so that it zooms quickly when at a fair distance from the model, and then gradually decrease the speed the closer to the model the camera gets. Worked a treat.
I actually found this command very useful in a model viewer I wrote. I used it to scale the mouse cam zoom rate, so that it zooms quickly when at a fair distance from the model, and then gradually decrease the speed the closer to the model the camera gets. Worked a treat.