10 m_enginePtcPos =
"0 1.346 2.205";
45 super.GetElectricitySourceDevice();
52 return "TruckBattery";
57 super.OnEngineStart();
112 case "Truck_02_Door_1_1":
113 Class.
CastTo( carDoor, FindAttachmentBySlotName( slotType ) );
116 if ( GetAnimationPhase(
"DoorsDriver") > 0.5 )
129 case "Truck_02_Door_2_1":
130 Class.
CastTo( carDoor, FindAttachmentBySlotName( slotType ) );
133 if ( GetAnimationPhase(
"DoorsCoDriver") > 0.5 )
210 return "DoorsDriver";
211 case "doors_codriver":
212 return "DoorsCoDriver";
217 case "wheelsideplate1":
218 return "WheelSidePlate1";
219 case "wheelsideplate2":
220 return "WheelSidePlate2";
248 switch( currentSeat )
266 switch( pCurrentSeat )
269 if (pDoorsSelection ==
"DoorsDriver")
276 if (pDoorsSelection ==
"DoorsCoDriver")
288 switch (pDoorSelection)
293 case "DoorsCoDriver":
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
CarSoundCtrl
Car's sound controller list. (native, do not change or extend)
proto native void Fill(MotorbikeFluid fluid, float amount)
Adds to the specified fluid the specified amount.
UniversalTemperatureSourceLambdaBaseImpl UniversalTemperatureSourceLambdaBase UniversalTemperatureSourceLambdaEngine()
override float OnSound(CarSoundCtrl ctrl, float oldValue)
override bool IsVitalEngineBelt()
override int GetAnimInstance()
override void OnDebugSpawn()
override int GetSeatIndexFromDoor(string pDoorSelection)
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 IsVitalRadiator()
override bool CrewCanGetThrough(int posIdx)
ref UniversalTemperatureSource m_UTSource
override bool CanReachSeatFromSeat(int currentSeat, int nextSeat)
override bool IsVitalSparkPlug()
override void OnEngineStop()
override int GetSeatAnimationType(int posIdx)
ref UniversalTemperatureSourceSettings m_UTSSettings
Super root of all classes in Enforce script.
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
script counterpart to engine's class Inventory
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