|
ScriptInvoker | GetOnCompartmentEntered (bool createNew=true) |
|
ScriptInvoker | GetOnCompartmentLeft (bool createNew=true) |
|
OnPlayerEnterCompartment | GetOnPlayerCompartmentEnter (bool createNew=true) |
|
OnPlayerExitCompartment | GetOnPlayerCompartmentExit (bool createNew=true) |
|
override void | OnCompartmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
|
override void | OnCompartmentLeft (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
|
void | OnLifeStateChanged (ECharacterLifeState previousLifeState, ECharacterLifeState newLifeState) |
|
BaseCompartmentSlot | FindFreeAndAccessibleCompartment (IEntity vehicle, ECompartmentType compartmentType, BaseCompartmentSlot customSlot=null) |
| Find a compartment that is marked as accessible and not occupied by anyone.
|
|
bool | MoveInVehicle (IEntity vehicle, ECompartmentType compartmentType, bool performWhenPaused=false, BaseCompartmentSlot customSlot=null) |
| Move in vehicle to specified slot type.
|
|
bool | MoveInVehicleAny (IEntity vehicle) |
| Move in vehicle to any available slot.
|
|
IEntity | GetVehicle () |
| Get vehicle this entity is in.
|
|
IEntity | GetVehicle (out int compartmentID) |
|
void | ~SCR_CompartmentAccessComponent () |
|
proto external IEntity | GetVehicleCompartmentManagerOwner () |
|
proto external BaseCompartmentSlot | GetCompartment () |
| Returns the compartent we're in.
|
|
proto external BaseCompartmentSlot | FindFreeCompartment (IEntity targetEntity, ECompartmentType compartmentType, bool useReserved=true) |
| Returns the first free compartment of a given type on.
|
|
proto external BaseCompartmentSlot | FindCompartmentReservedBy (IEntity targetEntity, IEntity reservedBy) |
|
proto external bool | IsInCompartment () |
| Returns true if we're inside a compartment.
|
|
proto external bool | IsInCompartmentADS () |
| Returns true if we're inside a compartment with enabled ADS.
|
|
proto external bool | IsTargetVehicleAccessible (IEntity targetEntity) |
| Returns true if.
|
|
proto external bool | GetInVehicle (IEntity vehicle, BaseCompartmentSlot compartment, bool forceTeleport, int doorInfoIndex, ECloseDoorAfterActions closeDoor, bool performWhenPaused) |
|
proto external bool | GetOutVehicle (EGetOutType type, int doorInfoIndex, ECloseDoorAfterActions closeDoor, bool performWhenPaused) |
|
proto external bool | GetOutVehicle_NoDoor (vector targetTransform[4], bool sendIntoRagdoll, bool performWhenPaused) |
|
proto external void | KickFromVehicle (int doorInfoIndex) |
|
proto external bool | OpenDoor (IEntity vehicle, ECharacterDoorAnimType doorAnimType, int doorInfoIndex) |
|
proto external bool | AreDoorsFromDifferentVehicle (IEntity vehicle, int doorIndex) |
|
proto external bool | CloseDoor (IEntity vehicle, ECharacterDoorAnimType doorAnimType, int doorInfoIndex) |
|
proto external void | InterruptVehicleActionQueue (bool interruptCurrentAction, bool forced, bool replicate) |
|
proto external bool | CanGetInVehicle (IEntity targetEntity) |
| Returns true if.
|
|
proto external IEntity | GetOwner () |
| Returns the entity owning the component.
|
|
proto external bool | CanGetInVehicleViaDoor (IEntity targetEntity, BaseCompartmentManagerComponent compartmentManagerCompartment, int doorInfoIndex) |
| Returns true if.
|
|
proto external bool | CanAccessDoor (IEntity targetEntity, BaseCompartmentManagerComponent compartmentManagerCompartment, int doorInfoIndex) |
| Returns true if.
|
|
proto external bool | IsGettingIn () |
| Returns true while getting in.
|
|
proto external bool | IsGettingOut () |
| Returns true while getting out.
|
|
proto external bool | CanGetOutVehicle () |
| Returns true if compartment can be gotten out of.
|
|
proto external bool | CanGetOutVehicleViaDoor (int doorIndex) |
| Returns true if compartment can be gotten out of via the door with index.
|
|
proto external bool | IsSwitchingSeatsAnim () |
| Returns true if character is in the switching animation.
|
|
proto external bool | FindSuitableTeleportLocation (vector TR[4]) |
|
proto external bool | CanJumpOutVehicle () |
| Returns true if current compartment can be jumped from.
|
|
proto external bool | IsVehicleFlipped (float dotThreshold) |
|
proto external bool | CompareSeatOutVectorAndGravity (float dotThreshold) |
|
proto external void | SetActivePilotCompartment (BaseCompartmentSlot pilotCompartment) |
|
bool | OnTicksOnRemoteProxy () |
|