Difference between revisions of "LlSetVehicleType"

From Second Life Wiki
Jump to navigation Jump to search
Line 13: Line 13:
!Value
!Value
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_NONE
{{!}}{{LSLG|VEHICLE_TYPE_NONE}}
{{!}}
{{!}}Dis
{{!}}0
{{!}}0
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_SLED
{{!}}{{LSLG|VEHICLE_TYPE_SLED}}
{{!}}Simple vehicle that bumps along the ground, and likes to move along it's local x-axis.
{{!}}Simple vehicle that bumps along the ground, and likes to move along it's local x-axis.
{{!}}1
{{!}}1
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_CAR
{{!}}{{LSLG|VEHICLE_TYPE_CAR}}
{{!}}Vehicle that bounces along the ground but needs the motors to be driven from external controls or {{LSLG|timer}} events.
{{!}}Vehicle that bounces along the ground but needs the motors to be driven from external controls or {{LSLG|timer}} events.
{{!}}2
{{!}}2
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_BOAT
{{!}}{{LSLG|VEHICLE_TYPE_BOAT}}
{{!}}Hovers over water with lots of friction and some angular deflection.
{{!}}Hovers over water with lots of friction and some angular deflection.
{{!}}3
{{!}}3
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_AIRPLANE
{{!}}{{LSLG|VEHICLE_TYPE_AIRPLANE}}
{{!}}Uses linear deflection for lift, no hover, and banking to turn.
{{!}}Uses linear deflection for lift, no hover, and banking to turn.
{{!}}4
{{!}}4
{{!}}-
{{!}}-
{{!}}VEHICLE_TYPE_BALLOON
{{!}}{{LSLG|VEHICLE_TYPE_BALLOON}}
{{!}}Hover, and friction, but no deflection.
{{!}}Hover, and friction, but no deflection.
{{!}}5
{{!}}5

Revision as of 20:44, 20 February 2007

Summary

Function: llSetVehicleType( integer type );

sets vehicle to one of the default types

• integer type

Flags Description Value
VEHICLE_TYPE_NONE Dis 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

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llSetVehicleType( integer type );