Usercmd: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (source)
mNo edit summary
Line 1: Line 1:
Usercmd is the player's input, for example the current keys pressed and current viewangle, which is sent to the server. By default it's send 30 times per second.
Usercmd (user command) is the player's input, for example the current keys pressed and current viewangle, which is sent to the server. By default it's send 30 times per second.


In code it's defined in [http://hl2sdk.gigcities.com/usercmd_8cpp-source.html usercmd.cpp]
In code it's defined in [http://hl2sdk.gigcities.com/usercmd_8cpp-source.html usercmd.cpp]

Revision as of 06:02, 2 August 2006

Usercmd (user command) is the player's input, for example the current keys pressed and current viewangle, which is sent to the server. By default it's send 30 times per second.

In code it's defined in usercmd.cpp