Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

aim

From Quake Wiki

Revision as of 03:57, 3 April 2013 by Necros (talk | contribs)

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.