The methods of the CScriptBindVehicle class are listed here.
|
|
Name |
Description |
|
Syntax: Vehicle.AddSeat( paramsTable ) Adds a seat to the vehicle. | |
|
| |
|
Syntax: Vehicle.ChangeSeat(actorHandle, seatId, isAnimationEnabled) Makes the actor changing the seat inside the vehicle. | |
|
Syntax: Vehicle.DisableEngine( disable ) Disables/enables the engine of the vehicle. | |
|
Syntax: Vehicle.EnableMovement( enable ) Enables/disables the movement of the vehicle. | |
|
Syntax: Vehicle.EnterVehicle( actorHandle, seatId, isAnimationEnabled ) Makes the actor entering the vehicle. | |
|
Syntax: Vehicle.ExitVehicle( actorHandle ) Makes the actor going out from the vehicle. | |
|
Syntax: Vehicle.GetComponentDamageRatio( componentName ) Gets the damage ratio of the specified component. | |
|
Syntax: Vehicle.GetHelperDir( name, isInVehicleSpace ) Gets the helper direction. | |
|
Syntax: Vehicle.GetHelperPos(name, isInVehicleSpace) Gets the helper position. | |
|
Syntax: Vehicle.GetHelperWorldPos( name ) Gets the helper position in the world coordinates. | |
![]() |
This is GetMemoryUsage, a member of class CScriptBindVehicle. | |
|
Syntax: Vehicle.GetSeatForPassenger(id) Returns the vehicle seat id for the specified passenger | |
|
Syntax: Vehicle.GetVehicle() Gets the vehicle identifier. | |
|
Syntax: Vehicle.HasHelper(name) Checks if the vehicle has the specified helper. | |
|
Syntax: Vehicle.IsDestroyed() Checks if the vehicle is destroyed. | |
|
Syntax: Vehicle.IsInsideRadius( pos, radius ) Checks if the vehicle is inside the specified radius. | |
|
Syntax: Vehicle.IsUsable( userHandle ) Checks if the vehicle is usable by the user. | |
|
Syntax: Vehicle.MultiplyWithWorldTM( pos ) Multiplies with the world transformation matrix. | |
|
Syntax: Vehicle.OnHit( targetId, shooterId, damage, position, radius, pHitClass, explosion ) Event that occurs after the vehicle is hit. | |
|
Syntax: Vehicle.OnUsed( userHandle, index ) Events that occurs when the user uses the vehicle. | |
|
Syntax: Vehicle.ProcessPassengerDamage( passengerId, actorHealth, damage, pDamageClass, explosion ) Processes passenger damages. | |
|
This is Release, a member of class CScriptBindVehicle. | |
|
Syntax: Vehicle.Reset() Resets the vehicle. | |
|
Syntax: Vehicle.ResetSlotGeometry( slot, filename, geometry ) |
|
Copyright (c) 2012. All rights reserved.
|