Difference between revisions of "LlSetVehicleType"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{ | {{LSL_Function | ||
|func_id=232|func_sleep=0.0|func_energy=10.0 | |||
|func=llSetVehicleType | |||
|p1_type=integer|p1_name=type | |||
|func_footnote | |||
|func_desc=sets vehicle to one of the default types | |||
|return_text | |||
|spec | |||
|caveats={{{!}} | |||
!Flags | |||
!Description | |||
!Value | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_NONE | |||
{{!}} | |||
{{!}}0 | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_SLED | |||
{{!}}Simple vehicle that bumps along the ground, and likes to move along it's local x-axis. | |||
{{!}}1 | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_CAR | |||
{{!}}Vehicle that bounces along the ground but needs the motors to be driven from external controls or {{LSLG|timer}} events. | |||
{{!}}2 | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_BOAT | |||
{{!}}Hovers over water with lots of friction and some angular deflection. | |||
{{!}}3 | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_AIRPLANE | |||
{{!}}Uses linear deflection for lift, no hover, and banking to turn. | |||
{{!}}4 | |||
{{!}}- | |||
{{!}}VEHICLE_TYPE_BALLOON | |||
{{!}}Hover, and friction, but no deflection. | |||
{{!}}5 | |||
{{!}}} | |||
|constants | |||
|examples | |||
|helpers | |||
|also_functions | |||
|also_tests | |||
|also_events | |||
|also_articles | |||
|notes | |||
|cat1=Vehicle | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}} |
Revision as of 20:42, 20 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSetVehicleType( integer type );232 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
sets vehicle to one of the default types
• integer | type |
Caveats
Flags | Description | Value |
---|---|---|
VEHICLE_TYPE_NONE | 0 | |
VEHICLE_TYPE_SLED | Simple vehicle that bumps along the ground, and likes to move along it's local x-axis. | 1 |
VEHICLE_TYPE_CAR | Vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events. | 2 |
VEHICLE_TYPE_BOAT | Hovers over water with lots of friction and some angular deflection. | 3 |
VEHICLE_TYPE_AIRPLANE | Uses linear deflection for lift, no hover, and banking to turn. | 4 |
VEHICLE_TYPE_BALLOON | Hover, and friction, but no deflection. | 5 |