Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "aim"
From Quake Wiki
Line 1: | Line 1: | ||
− | + | ====Syntax:==== | |
+ | <code>vector aim(entity e, float speed)</code> | ||
− | Returns a vector along which the entity ''e'' can shoot. | + | Used for player weapons and links to the sv_aim console variable for autoaim. |
− | + | ====Parameters:==== | |
+ | :<code>f</code> - The float value to convert | ||
+ | ====Returns:==== | ||
+ | :Returns a vector along which the entity ''e'' can shoot. The vector is calculated based on the sv_aim console variable to the closest enemy entity. | ||
+ | |||
+ | |||
+ | [[Category:QuakeC Function]] |
Revision as of 02:57, 3 April 2013
Syntax:
vector aim(entity e, float speed)
Used for player weapons and links to the sv_aim console variable for autoaim.
Parameters:
f
- The float value to convert
Returns:
- Returns a vector along which the entity e can shoot. The vector is calculated based on the sv_aim console variable to the closest enemy entity.