Scripting/Client/Events/onClientMouseWheel
true when scrolling up/away. Not sent while the chat box owns the wheel.
Syntax
onClientMouseWheel(up)Arguments
- bool up
Example
function onClientMouseWheel( up )
{
Message( "onClientMouseWheel fired" );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- onScriptLoad
- onScriptUnload
- onClientSpawn
- onClientRender
- onClientCommand
- onClientMouseMove
- onClientMouseClick
- onClientKeyStateChange
- onGameWindowResize
- onObjectShot
Section: Client events
Categories: Client events | Client events