Difference between revisions of "VEHICLE FLAG HOVER TERRAIN ONLY"
Jump to navigation
Jump to search
TomVT Kungfu (talk | contribs) (moved content from VEHICLE HOVER TERRAIN ONLY) |
|||
Line 2: | Line 2: | ||
|name=VEHICLE_FLAG_HOVER_TERRAIN_ONLY | |name=VEHICLE_FLAG_HOVER_TERRAIN_ONLY | ||
|type=integer | |type=integer | ||
|value=0x008 | |value={{LSL Hex|0x008}} | ||
|desc= | |desc=Makes the vehicle float over land. | ||
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_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= | ||
|pb= | |pb= | ||
|examples | |examples | ||
<!-- | |||
<lsl> | |||
llSetVehicleFlags(VEHICLE_FLAG_HOVER_TERRAIN_ONLY); | |||
</lsl> | |||
--> | |||
<!--{{LSL ConstRow|CHANGED_SHAPE}}--> | <!--{{LSL ConstRow|CHANGED_SHAPE}}--> | ||
|functions= | |functions= | ||
Line 15: | Line 24: | ||
|events= | |events= | ||
<!--{{LSL DefineRow||[[changed]]|}}--> | <!--{{LSL DefineRow||[[changed]]|}}--> | ||
|constants= | |||
{{!}} {{LSL Constants/Vehicle Flags}} | |||
|location | |location | ||
|cat1 | |articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}} | ||
|cat1=Vehicle | |||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 10:48, 31 January 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 0x008;The integer constant VEHICLE_FLAG_HOVER_TERRAIN_ONLY has the value 0x008
Makes the vehicle float over land.
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_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
Constants
|
Functions
• | llSetVehicleFlags | |||
• | llRemoveVehicleFlags |
Articles
• | Linden Vehicle Tutorial |