Difference between revisions of "VEHICLE FLAG HOVER WATER ONLY"
Jump to navigation
Jump to search
(New page: {{LSL Constant |name=VEHICLE_FLAG_HOVER_WATER_ONLY |type=integer |value=2 |desc= |pa= |text= |pb= |examples |constants= <!--{{LSL ConstRow|CHANGED_SHAPE}}--> |functions= {{LSL DefineRow||[...) |
(Move constant description from VEHICLE_HOVER_WATER_ONLY. (The article title is not correct)) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|name=VEHICLE_FLAG_HOVER_WATER_ONLY | |name=VEHICLE_FLAG_HOVER_WATER_ONLY | ||
|type=integer | |type=integer | ||
|value= | |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 9: | Line 13: | ||
|examples | |examples | ||
|constants= | |constants= | ||
{{LSL ConstRow|VEHICLE_BUOYANCY}} | |||
{{LSL ConstRow|VEHICLE_HOVER_HEIGHT}} | |||
{{LSL ConstRow|VEHICLE_FLAG_HOVER_UP_ONLY}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetVehicleFlags]]|}} | {{LSL DefineRow||[[llSetVehicleFlags]]|}} | ||
{{LSL DefineRow||[[llRemoveVehicleFlags]]|}} | {{LSL DefineRow||[[llRemoveVehicleFlags]]|}} | ||
|events | |events | ||
|location | |location | ||
|cat1 | |articles={{LSL DefineRow||[[Linden Vehicle Tutorial]]}} | ||
|cat1=Vehicle/Flags | |||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Latest revision as of 05:11, 22 June 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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.
Caveats
Related Articles
Constants
• | VEHICLE_BUOYANCY | |||
• | VEHICLE_HOVER_HEIGHT | |||
• | VEHICLE_FLAG_HOVER_UP_ONLY |
Functions
• | llSetVehicleFlags | |||
• | llRemoveVehicleFlags |
Articles
• | Linden Vehicle Tutorial |