LlSetVehicleType
From Second Life Wiki
| Languages: |
English • Deutsch • Español • ελληνικά • Français • עברית • Italiano • 日本語 • 한국어 • Nederlands • Magyar • Norsk • Dansk • Svenska • Türkçe • Polski • Português • Русский • украї́нська • 中文(简体) • 中文(繁體) |
| Volunteer translated pages are linked in blue, Google translated pages are linked in grey. Learn how to provide volunteer translations. | |
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Summary
Function: llSetVehicleType( integer type );| 232 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Sets the vehicle type to one of the default types.
| • integer | type |
| Flags | Description | |
|---|---|---|
| VEHICLE_TYPE_NONE | 0 | Turns off vehicle support |
| VEHICLE_TYPE_SLED | 1 | Simple vehicle that bumps along the ground, and likes to move along its local x-axis |
| VEHICLE_TYPE_CAR | 2 | Vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events |
| VEHICLE_TYPE_BOAT | 3 | Hovers over water with lots of friction and some angular deflection |
| VEHICLE_TYPE_AIRPLANE | 4 | Uses linear deflection for lift, no hover, and banking to turn |
| VEHICLE_TYPE_BALLOON | 5 | Hover, and friction, but no deflection |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

