Skip to content
lsl.devlsl.devLSL Dev

VEHICLE_FLAG_HOVER_WATER_ONLY

constant
Constant
integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x4;

Constant groups

VehicleFlag

Other VehicleFlag values (10)

Makes the vehicle over water.

If you wanted to make a boat you should set the VEHICLE_FLAG_HOVER_WATER_ONLY flag, or if you wanted to drive a hover tank under water you would use the VEHICLE_FLAG_HOVER_TERRAIN_ONLY flag instead. Finally, if you wanted to make a submarine or a balloon you would use the VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT.

The vehicle flags are independent of each other and that setting two contradictory flags will have undefined behavior. The flags are set using the script call llSetVehicleFlags.

ConstantTypeValueDescription
VEHICLE_BUOYANCY
VEHICLE_HOVER_HEIGHT
VEHICLE_FLAG_HOVER_UP_ONLY
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.