Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
CompartmentAccessComponent.c File Reference

Go to the source code of this file.

Data Structures

class  CompartmentAccessComponentClass
 

Functions

CompartmentAccessComponentClass GameComponentClass GetCompartment ()
 Returns the compartent we're in. More...
 
proto external BaseCompartmentSlot FindFreeCompartment (IEntity targetEntity, ECompartmentType compartmentType, bool useReserved=true)
 Returns the first free compartment of a given type on. More...
 
proto external BaseCompartmentSlot FindCompartmentReservedBy (IEntity targetEntity, IEntity reservedBy)
 
proto external bool IsInCompartment ()
 Returns true if we're inside a compartment. More...
 
proto external bool IsInCompartmentADS ()
 Returns true if we're inside a compartment with enabled ADS. More...
 
proto external bool IsTargetVehicleAccessible (IEntity targetEntity)
 Returns true if. More...
 
proto external bool CanGetInVehicle (IEntity targetEntity)
 Returns true if. More...
 
BaseAimingComponentClass GameComponentClass GetOwner ()
 This component takes care of sending chat messages. More...
 
proto external bool CanGetInVehicleViaDoor (IEntity targetEntity, BaseCompartmentSlot targetCompartment, int doorInfoIndex)
 Returns true if. More...
 
proto external bool GetInVehicle (IEntity targetEntity, BaseCompartmentSlot targetCompartment, int doorInfoIndex)
 Make current entity get into. More...
 
proto external bool MoveInVehicle (IEntity targetEntity, BaseCompartmentSlot targetCompartment)
 Make current entity move (teleport) into. More...
 
proto external bool WasLastGettingOutEjecting ()
 If true, last exiting of vehicle was by ejecting, so we should not reset vehicle inputs. More...
 
proto external bool WasLastGettingOutTeleportation ()
 If true, last exiting of vehicle was by teleportation. More...
 
proto external void GetTeleportTarget (out vector outMat[4])
 Get the target transform for the last exit from vehicle. More...
 
proto external bool IsGettingIn ()
 Returns true while getting in. More...
 
proto external bool IsGettingOut ()
 Returns true while getting out. More...
 
proto external bool CanGetOutVehicle ()
 Returns true if compartment can be gotten out of. More...
 
proto external bool CanGetOutVehicleViaDoor (int doorIndex)
 Returns true if compartment can be gotten out of via the door with index. More...
 
proto external bool GetOutVehicle (int doorInfoIndex, bool ejects)
 Get out of current entity via the door with index. More...
 
proto external bool MoveOutVehicle (int doorInfoIndex, vector targetTransform[4])
 Move out of (teleport from) current vehicle via the door with index. More...
 
proto external bool EjectOutOfVehicle ()
 Teleport out of the vehicle normally - when exiting is not possible. More...
 
proto external bool CanJumpOutVehicle ()
 Returns true if current compartment can be jumped from. More...
 
proto external bool JumpOutVehicle ()
 Jump out of current compartment. More...
 
event protected void OnCompartmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move)
 
event protected void OnCompartmentLeft (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move)