33 super.OnEngineStart();
93 case "Van_01_Door_1_1":
94 if (GetAnimationPhase(
"DoorsDriver") > 0.5)
101 case "Van_01_Door_2_1":
102 if (GetAnimationPhase(
"DoorsCoDriver") > 0.5)
109 case "Van_01_Door_2_2":
110 if (GetAnimationPhase(
"DoorsCargo1") > 0.5)
117 case "Van_01_Trunk_1":
118 if (GetAnimationPhase(
"DoorsCargo3") > 0.5)
124 case "Van_01_Trunk_2":
125 if (GetAnimationPhase(
"DoorsCargo2") > 0.5)
221 return "DoorsDriver";
222 case "doors_codriver":
223 return "DoorsCoDriver";
225 return "DoorsCargo1";
227 return "DoorsCargo2";
229 return "DoorsCargo3";
243 return "seat_con_1_1";
245 case "seat_codriver":
246 return "seat_con_2_1";
251 return "seat_con_1_2";
CarSoundCtrl
Car's sound controller list. (native, do not change or extend)
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
ref UniversalTemperatureSourceSettings m_UTSSettings
ref UniversalTemperatureSource m_UTSource
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override int GetAnimInstance()
override string GetDoorConditionPointFromSelection(string selection)
override bool IsVitalGlowPlug()
override int GetCarDoorsState(string slotType)
override bool IsVitalTruckBattery()
ref UniversalTemperatureSourceLambdaEngine m_UTSLEngine
override string GetAnimSourceFromSelection(string selection)
override bool CanReachDoorsFromSeat(string pDoorsSelection, int pCurrentSeat)
override void EOnPostSimulate(IEntity other, float timeSlice)
override void OnEngineStart()
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++
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.