Difference between revisions of "VEHICLE FLAG HOVER WATER ONLY"

From Second Life Wiki
Jump to navigation Jump to search
m
(Move constant description from VEHICLE_HOVER_WATER_ONLY. (The article title is not correct))
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|type=integer
|type=integer
|value=0x004
|value=0x004
|desc=
|desc=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]].
|pa=
|pa=
|text=
|text=
Line 18: Line 22:
|location
|location
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}}
|cat1
|cat1=Vehicle/Flags
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 06:11, 22 June 2009

Description

Constant: integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x004;

The integer constant VEHICLE_FLAG_HOVER_WATER_ONLY has the value 0x004

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.

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_FLAG_HOVER_WATER_ONLY = 0x004;