ScriptBind_VehicleSeat

GetVehicleSeat

Gets the vehicle seat identifier.

VehicleSeat.GetVehicleSeat()

Reset

Resets the vehicle seat.

VehicleSeat.Reset()

IsFree

Checks if the seat is free.

VehicleSeat.IsFree(actor)
ParameterDescription
actorHandlePassenger identifier.

IsDriver

Checks if the seat is the driver seat.

VehicleSeat.IsDriver()

IsGunner

Checks if the seat is the gunner seat.

VehicleSeat.IsGunner()

GetWeaponId

Gets the weapon identifier.

VehicleSeat.GetWeaponId(weaponIndex)
ParameterDescription
weaponIndexWeapon identifier.

GetWeaponCount

Gets the number of weapons available on this seat.

VehicleSeat.GetWeaponCount()

SetAIWeapon

Sets the weapon artificial intelligence.

VehicleSeat.SetAIWeapon(weaponHandle)
ParameterDescription
weaponHandleWeapon identifier.

GetPassengerId

Gets the passenger identifier.

VehicleSeat.GetPassengerId()