Class.SqVehicle - VCMP-SqMod/SqMod GitHub Wiki
Used to represent a vehicle instance in the game.
-
class
SqVehicle
-
table
On -
integer
ID -
string
Tag -
object
Data -
bool
Active -
integer
SyncSource -
integer
SyncType -
integer
World -
integer
Model -
integer
Immunity -
bool
Wrecked -
Vector3
Pos -
Vector3
Position -
Quaternion
Rot -
Quaternion
Rotation -
Vector3
EulerRot -
Vector3
EulerRotation -
Vector3
Speed -
Vector3
RelSpeed -
Vector3
RelativeSpeed -
Vector3
TurnSpeed -
Vector3
RelTurnSpeed -
Vector3
RelativeTurnSpeed -
Vector3
SpawnPos -
Vector3
SpawnPosition -
Quaternion
SpawnRot -
Quaternion
SpawnRotation -
Vector3
SpawnEulerRot -
Vector3
SpawnEulerRotation -
integer
IdleRespawnTimer -
float
Health -
integer
PrimaryColor -
integer
SecondaryColor -
integer
PrimaryColour -
integer
SecondaryColour -
integer
DamageData -
integer
Radio -
Vector2
TurretRotation -
float
HorTurretRotation -
float
HorizontalTurretRotation -
float
VerTurretRotation -
float
VerticalTurretRotation -
integer
LightsData -
bool
CollideAreas -
integer
TrackPosition -
integer
TrackRotation -
integer
LastPrimaryColor -
integer
LastSecondaryColor -
integer
LastPrimaryColour -
integer
LastSecondaryColour -
float
LastHealth -
Vector3
LastPosition -
Quaternion
LastRotation -
float
PosX -
float
PosY -
float
PosZ -
float
RotX -
float
RotY -
float
RotZ -
float
RotW -
float
EulerX -
float
EulerY -
float
EulerZ -
float
SpeedX -
float
SpeedY -
float
SpeedZ -
float
RelSpeedX -
float
RelSpeedY -
float
RelSpeedZ -
float
TurnSpeedX -
float
TurnSpeedY -
float
TurnSpeedZ -
float
RelTurnSpeedX -
float
RelTurnSpeedY -
float
RelTurnSpeedZ
-
function
SetTag -
function
CustomEvent -
function
Destroy -
function
StreamedFor -
function
GetOption -
function
SetOption -
function
SetOptionEx -
function
Occupant -
function
OccupantID -
function
HasOccupant -
function
Respawn -
function
Explode -
function
SetRot -
function
SetRotation -
function
SetEulerRot -
function
SetEulerRotation -
function
SetSpeed -
function
SetRelativeSpeed -
function
SetTurnSpeed -
function
SetRelativeTurnSpeed -
function
SetSpawnPos -
function
SetSpawnPosition -
function
SetSpawnRot -
function
SetSpawnRotation -
function
SetSpawnEulerRot -
function
SetSpawnEulerRotation -
function
Fix -
function
SetColors -
function
GetPartStatus -
function
SetPartStatus -
function
GetTyreStatus -
function
SetTyreStatus -
function
ExistsHandlingRule -
function
GetHandlingRule -
function
SetHandlingRule -
function
ResetHandlingRule -
function
ResetHandlings -
function
SetPlayer3DArrow -
function
GetPlayer3DArrow -
function
SetPlayer3DArrowID -
function
GetPlayer3DArrowID -
function
AreasCollide -
function
SetPos -
function
SetPosition -
function
AddSpeed -
function
AddRelativeSpeed -
function
AddTurnSpeed -
function
AddRelativeTurnSpeed -
function
ResetHandling -
function
Embark -
function
NullInst -
function
MakeTask -
function
DropTask -
function
DoesTask -
function
FindTask
-
integer
MaxID