REDNODE / GAME API

vehicleControllerPS

classnativesavable

extends GameComponentPS › PersistentState › IScriptable › ISerializable

Properties 6

NameTypeFlags
allowPassengerCameraSwitchBooloverridingpersistent
isAlarmOnBooloverridingpersistent
lightModevehicleELightModeoverridingpersistent
lightTypeMaskInt32overridingpersistent
statevehicleEStateoverridingpersistent
vehicleDoorsstatic<6,vehicleVehicleSlotsState>overridingpersistent

Methods 15

native func CycleHeadLightMode(opt isPlayer: Bool)
native func GetAllowPassengerCameraSwitch() -> Bool
native func GetDoorInteractionState(door: EVehicleDoor) -> VehicleDoorInteractionState
native func GetDoorState(door: EVehicleDoor) -> VehicleDoorState
native func GetHeadLightMode() -> vehicleELightMode
native func GetState() -> vehicleEState
native func GetWindowState(door: EVehicleDoor) -> EVehicleWindowState
native func IsAlarmOn() -> Bool
native func SetAlarm(on: Bool)
native func SetAllowPassengerCameraSwitch(allow: Bool)
native func SetDoorInteractionState(door: EVehicleDoor, state: VehicleDoorInteractionState)
native func SetDoorState(door: EVehicleDoor, state: VehicleDoorState, immediate: Bool)
native func SetHeadLightMode(lightMode: vehicleELightMode)
native func SetState(state: vehicleEState)
native func SetWindowState(door: EVehicleDoor, state: EVehicleWindowState)