Arma Reforger Script API
|
Public Member Functions | |
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) |
Public Member Functions inherited from GameComponent | |
bool | OnTicksOnRemoteProxy () |
Static Public Member Functions | |
static proto IEntity | GetVehicleIn (IEntity entity) |
Returns the vehicle entity is in (root entity of whole hierarchy) | |
Protected Member Functions | |
void | OnCompartmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
void | OnCompartmentLeft (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
proto external bool CompartmentAccessComponent.AreDoorsFromDifferentVehicle | ( | IEntity | vehicle, |
int | doorIndex | ||
) |
proto external bool CompartmentAccessComponent.CanAccessDoor | ( | IEntity | targetEntity, |
BaseCompartmentManagerComponent | compartmentManagerCompartment, | ||
int | doorInfoIndex | ||
) |
Returns true if.
doorIndex | can be closed/opened |
proto external bool CompartmentAccessComponent.CanGetInVehicle | ( | IEntity | targetEntity | ) |
Returns true if.
targetEntity | can be entered at this time |
proto external bool CompartmentAccessComponent.CanGetInVehicleViaDoor | ( | IEntity | targetEntity, |
BaseCompartmentManagerComponent | compartmentManagerCompartment, | ||
int | doorInfoIndex | ||
) |
Returns true if.
targetEntity | can be entered at this time |
proto external bool CompartmentAccessComponent.CanGetOutVehicle | ( | ) |
Returns true if compartment can be gotten out of.
proto external bool CompartmentAccessComponent.CanGetOutVehicleViaDoor | ( | int | doorIndex | ) |
Returns true if compartment can be gotten out of via the door with index.
doorIndex |
proto external bool CompartmentAccessComponent.CanJumpOutVehicle | ( | ) |
Returns true if current compartment can be jumped from.
proto external bool CompartmentAccessComponent.CloseDoor | ( | IEntity | vehicle, |
ECharacterDoorAnimType | doorAnimType, | ||
int | doorInfoIndex | ||
) |
proto external bool CompartmentAccessComponent.CompareSeatOutVectorAndGravity | ( | float | dotThreshold | ) |
proto external BaseCompartmentSlot CompartmentAccessComponent.FindCompartmentReservedBy | ( | IEntity | targetEntity, |
IEntity | reservedBy | ||
) |
proto external BaseCompartmentSlot CompartmentAccessComponent.FindFreeCompartment | ( | IEntity | targetEntity, |
ECompartmentType | compartmentType, | ||
bool | useReserved = true |
||
) |
Returns the first free compartment of a given type on.
targetEntity |
proto external bool CompartmentAccessComponent.FindSuitableTeleportLocation | ( | vector | TR[4] | ) |
proto external BaseCompartmentSlot CompartmentAccessComponent.GetCompartment | ( | ) |
Returns the compartent we're in.
proto external bool CompartmentAccessComponent.GetInVehicle | ( | IEntity | vehicle, |
BaseCompartmentSlot | compartment, | ||
bool | forceTeleport, | ||
int | doorInfoIndex, | ||
ECloseDoorAfterActions | closeDoor, | ||
bool | performWhenPaused | ||
) |
proto external bool CompartmentAccessComponent.GetOutVehicle | ( | EGetOutType | type, |
int | doorInfoIndex, | ||
ECloseDoorAfterActions | closeDoor, | ||
bool | performWhenPaused | ||
) |
proto external bool CompartmentAccessComponent.GetOutVehicle_NoDoor | ( | vector | targetTransform[4], |
bool | sendIntoRagdoll, | ||
bool | performWhenPaused | ||
) |
proto external IEntity CompartmentAccessComponent.GetOwner | ( | ) |
Returns the entity owning the component.
proto external IEntity CompartmentAccessComponent.GetVehicleCompartmentManagerOwner | ( | ) |
|
static |
Returns the vehicle entity is in (root entity of whole hierarchy)
proto external void CompartmentAccessComponent.InterruptVehicleActionQueue | ( | bool | interruptCurrentAction, |
bool | forced, | ||
bool | replicate | ||
) |
proto external bool CompartmentAccessComponent.IsGettingIn | ( | ) |
Returns true while getting in.
proto external bool CompartmentAccessComponent.IsGettingOut | ( | ) |
Returns true while getting out.
proto external bool CompartmentAccessComponent.IsInCompartment | ( | ) |
Returns true if we're inside a compartment.
proto external bool CompartmentAccessComponent.IsInCompartmentADS | ( | ) |
Returns true if we're inside a compartment with enabled ADS.
proto external bool CompartmentAccessComponent.IsSwitchingSeatsAnim | ( | ) |
Returns true if character is in the switching animation.
proto external bool CompartmentAccessComponent.IsTargetVehicleAccessible | ( | IEntity | targetEntity | ) |
Returns true if.
targetEntity | is accessible for getting in (e.g. not upside down) |
proto external bool CompartmentAccessComponent.IsVehicleFlipped | ( | float | dotThreshold | ) |
proto external void CompartmentAccessComponent.KickFromVehicle | ( | int | doorInfoIndex | ) |
|
protected |
Implemented in SCR_CompartmentAccessComponent.
|
protected |
Implemented in SCR_CompartmentAccessComponent.
proto external bool CompartmentAccessComponent.OpenDoor | ( | IEntity | vehicle, |
ECharacterDoorAnimType | doorAnimType, | ||
int | doorInfoIndex | ||
) |
proto external void CompartmentAccessComponent.SetActivePilotCompartment | ( | BaseCompartmentSlot | pilotCompartment | ) |