Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TurretCompartmentSlot Interface Reference
Inheritance diagram for TurretCompartmentSlot:
[legend]

Public Member Functions

proto external bool IsDirectAimMode ()
 
proto external bool GetCharacterWeaponHandling ()
 
- Public Member Functions inherited from BaseCompartmentSlot
override void DebugDrawPosition ()
 
bool IsCompartmentAccessible ()
 
void SetCompartmentAccessible (bool val)
 
int GetCompartmentSection ()
 Switching seats is allowed only between compartments with matching area.
 
bool GetIsWaterTight ()
 
IEntity GetVehicle ()
 Get vehicle this slot belongs to.
 
IEntity GetVehicle (out int compartmentID)
 Get vehicle this slot belongs to.
 
bool IsOccupied ()
 Get if compartment is occupied.
 
void DamageOccupant (float damage, EDamageType damageType, notnull Instigator instigator, bool gettingIn=false, bool gettingOut=false)
 
void ScreenShakeOccupant (float damage)
 
void KillOccupant (notnull Instigator instigator, bool eject=false, bool gettingIn=false, bool gettingOut=false)
 
SCR_DefaultOccupantData GetDefaultOccupantData ()
 Get default occupent prefab data.
 
ResourceName GetDefaultOccupantPrefab (bool checkIfValid=true)
 Get default occupent prefab ResourceName.
 
IEntity SpawnDefaultCharacterInCompartment (inout AIGroup group, ResourceName groupPrefab="{000CD338713F2B5A}Prefabs/AI/Groups/Group_Base.et")
 Spawn default character within the compartment (Server only) Default characters are defined on the CompartmentSlot.
 
IEntity SpawnCharacterInCompartment (ResourceName characterPrefab, inout AIGroup group, ResourceName groupPrefab="{000CD338713F2B5A}Prefabs/AI/Groups/Group_Base.et")
 Spawn character within the compartment (Server only)
 
float GetFreelookAimLimitOverrideDown ()
 
float GetFreelookAimLimitOverrideUp ()
 
float GetFreelookAimLimitOverrideLeft ()
 
float GetFreelookAimLimitOverrideRight ()
 
vector GetFreelookCameraNeckOffsetScale ()
 
float GetFreelookCameraNeckFollowTraverse ()
 
- Public Member Functions inherited from ExtBaseCompartmentSlot
proto external int GetAddUserActions (out notnull array< CompartmentUserAction > outAddUserActions)
 
proto external bool IsPiloting ()
 
proto external IEntity GetOwner ()
 
proto external BaseControllerComponent GetController ()
 
proto external ECompartmentType GetType ()
 
proto external BaseCompartmentManagerComponent GetManager ()
 
proto external int GetAvailableDoorIndices (out notnull array< int > arr)
 
proto external bool IsAvailableFromDoor (int doorIndex)
 
proto external int PickDoorIndexForPoint (vector point)
 
proto external IEntity AttachedOccupant ()
 
proto external IEntity GetOccupant ()
 
proto external UIInfo GetUIInfo ()
 
proto external bool IsReserved ()
 
proto external bool IsReservedBy (IEntity ent)
 
proto external void SetReserved (IEntity ent)
 
proto external EntitySlotInfo GetPassengerPointInfo ()
 
proto external bool GetForceFreeLook ()
 
proto external bool GetMouseSteering ()
 
proto external bool ShouldEjectUnconsciousDeadCharacters ()
 
proto external void SetCharacterIsStrappedIn (bool val)
 
proto external bool ShouldCharactersFallOutWhenFlipped ()
 
proto external int GetCompartmentMgrID ()
 Returns the manager ID of the compartment. To uniquely identify the compartment, use both GetCompartmentMgrID and GetCompartmentSlotID.
 
proto external int GetCompartmentSlotID ()
 Returns the slot ID of the compartment. To uniquely identify the compartment, use both GetCompartmentMgrID and GetCompartmentSlotID.
 
proto external bool IsGetInLockedFor (IEntity entity)
 Checks if getting in is impossible for a given entity.
 
proto external bool IsGetInLocked ()
 Checks if getting in is locked by anybody.
 
proto external CompartmentUserAction GetGetInAction ()
 
proto external CompartmentUserAction GetGetOutAction ()
 
proto external CompartmentUserAction GetJumpOutAction ()
 
proto external CompartmentUserAction GetSwitchSeatAction ()
 
proto external vector GetPosition ()
 
proto external PointInfo GetOverridenEntryPointInfo ()
 
proto external PointInfo GetOverridenExitPointInfo ()
 
proto external bool ShouldSkipCharacterDoorAnimationsFromSeat ()
 
proto external string GetCompartmentUniqueName ()
 

Additional Inherited Members

- Static Public Attributes inherited from BaseCompartmentSlot
static const vector SPAWN_IN_VEHICLE_OFFSET = Vector(0, 250, 0)
 
void DebugDrawPosition ()
 
- Protected Attributes inherited from BaseCompartmentSlot
int m_iCompartmentSection
 
bool m_bIsWaterTight
 
ref SCR_DefaultOccupantData m_DefaultOccupantData
 
ref SCR_BaseScreenShakeData m_ScreenShakeData
 
float m_fFreelookAimLimitOverrideDown
 
float m_fFreelookAimLimitOverrideUp
 
float m_fFreelookAimLimitOverrideLeft
 
float m_fFreelookAimLimitOverrideRight
 
vector m_vFreelookCameraNeckOffsetScale
 
float m_fFreelookCameraNeckFollowTraverse
 
bool m_bCompartmentAccessible = true
 

Member Function Documentation

◆ GetCharacterWeaponHandling()

proto external bool TurretCompartmentSlot.GetCharacterWeaponHandling ( )

◆ IsDirectAimMode()

proto external bool TurretCompartmentSlot.IsDirectAimMode ( )

The documentation for this interface was generated from the following file: