Attempts to set a vehicle weapon's aim angle to a specific value. Causes aim angle to transition smoothly from the current value to the requested value (or to the closest allowed value to the requested value if it is beyond the vehicle's limits).

Aim angle values are in radians, with positive values indicating upward angle, negative values indicating downward angle, and 0 indicating straight ahead.


See also Vehicle functions.

Signature:

VehicleAimRequestAngle(amount)

Arguments:

  • amount - New aim angle (in radians) (number)