3 protected ref UniversalTemperatureSource
m_UTSource;
4 protected ref UniversalTemperatureSourceSettings
m_UTSSettings;
44 super.GetElectricitySourceDevice();
51 return "TruckBattery";
56 super.OnEngineStart();
118 Class.
CastTo( carDoor, FindAttachmentBySlotName( slotType ) );
124 case "Van_01_Door_1_1":
125 if ( GetAnimationPhase(
"DoorsDriver") > 0.5 )
132 case "Van_01_Door_2_1":
133 if ( GetAnimationPhase(
"DoorsCoDriver") > 0.5 )
140 case "Van_01_Door_2_2":
141 if ( GetAnimationPhase(
"DoorsCargo1") > 0.5 )
148 case "Van_01_Trunk_1":
149 if ( GetAnimationPhase(
"DoorsCargo3") > 0.5 )
155 case "Van_01_Trunk_2":
156 if ( GetAnimationPhase(
"DoorsCargo2") > 0.5 )
252 return "DoorsDriver";
253 case "doors_codriver":
254 return "DoorsCoDriver";
256 return "DoorsCargo1";
258 return "DoorsCargo2";
260 return "DoorsCargo3";
274 return "seat_con_1_1";
276 case "seat_codriver":
277 return "seat_con_2_1";
282 return "seat_con_1_2";
298 switch( currentSeat )
324 switch( pCurrentSeat )
327 if (pDoorsSelection ==
"DoorsDriver")
333 if (pDoorsSelection ==
"DoorsCoDriver")
339 if (pDoorsSelection ==
"DoorsCargo1")
345 if (pDoorsSelection ==
"DoorsCargo2")
CarSoundCtrl
Car's sound controller list. (native, do not change or extend)
ref UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSource m_UTSource
UniversalTemperatureSourceLambdaBaseImpl UniversalTemperatureSourceLambdaBase UniversalTemperatureSourceLambdaEngine()
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override int GetAnimInstance()
override string GetDoorConditionPointFromSelection(string selection)
override bool NeedElectricitySourceDevice()
override bool IsVitalGlowPlug()
override int GetCarDoorsState(string slotType)
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
override string GetAnimSourceFromSelection(string selection)
override EntityAI GetElectricitySourceDevice()
override bool CanReachDoorsFromSeat(string pDoorsSelection, int pCurrentSeat)
override void EOnPostSimulate(IEntity other, float timeSlice)
override void OnEngineStart()
override string GetElectricitySourceDeviceType()
override bool CrewCanGetThrough(int posIdx)
ref UniversalTemperatureSource m_UTSource
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
override void OnEngineStop()
override int GetSeatAnimationType(int posIdx)
ref UniversalTemperatureSourceSettings m_UTSSettings
Super root of all classes in Enforce script.
original Timer deletes m_params which is unwanted
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static const float ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE