|
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 damageWhileGetIn=true, bool damageWhileGetOut=true) |
|
void | ScreenShakeOccupant (float damage) |
|
void | KillOccupant (notnull Instigator instigator, bool eject=false, bool gettingIn=false, bool gettingOut=false) |
|
void | EjectOccupant (bool forceEject=false, bool ejectUnconsciously=false) |
| Get default occupent prefab data.
|
|
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 () |
|
float | GetRandomEjectionChance () |
|
proto external int | GetAddUserActions (out notnull array< CompartmentUserAction > outAddUserActions) |
|
proto external bool | IsPiloting () |
|
proto external void | SetAutoConnectTurret (string name, array< string > aContextIDs) |
|
proto external string | GetAutoConnectTurret () |
|
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 () |
|
proto external void | AttachTurret (TurretControllerComponent turretController, array< string > aContextIDs) |
|
proto external void | DetachTurret () |
|
static const vector | SPAWN_IN_VEHICLE_OFFSET = Vector(0, 250, 0) |
|
void | DebugDrawPosition () |
|
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 |
|
float | m_fRandomEjectionChance |
|
bool | m_bCompartmentAccessible = true |
|