Difference between revisions of "VEHICLE FLAG HOVER GLOBAL HEIGHT"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Constant |name=VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT |type=integer |value=4 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |functions= {{LSL DefineRow...)
 
(Move constant description from VEHICLE_HOVER_GLOBAL_HEIGHT. (The article title is not correct))
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|name=VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT
|name=VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT
|type=integer
|type=integer
|value=4
|value=0x010
|desc=
|desc=Hover at global height instead of height above ground or 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 16: Line 20:
<!--{{LSL DefineRow||[[changed]]|}}-->
<!--{{LSL DefineRow||[[changed]]|}}-->
|location
|location
|cat1
|cat1=Vehicle/Flags
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 06:13, 22 June 2009

Description

Constant: integer VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 0x010;

The integer constant VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT has the value 0x010

Hover at global height instead of height above ground or 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.

Caveats


Related Articles

Functions

•  llSetVehicleFlags
•  llRemoveVehicleFlags

Deep Notes

Search JIRA for related Issues

Signature

integer VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 0x010;