Skip to content

llSetVehicleFlags

void llSetVehicleFlags(integer Flags)

Enables the vehicle flags specified in the Flags bitmask.

Valid parameters can be found in the wiki documentation.

Parameters
Flags (integer)
  • Some vehicle flags may remain enabled after script reset. Use llRemoveVehicleFlags to disable any flags that would interfere with the correct functioning of your vehicle.
  • VEHICLE_FLAG_MOUSELOOK_STEER and VEHICLE_FLAG_MOUSELOOK_BANK only turn the vehicle up to the current VEHICLE_ANGULAR_MOTOR_DIRECTION. If VEHICLE_ANGULAR_MOTOR_DIRECTION is set to ZERO_VECTOR, then the vehicle will not turn.