37 carDoor.GetActionComponentNameList(target.GetComponentIndex(), selections);
39 string animSource =
"";
41 for (
int i = 0; i < selections.Count(); i++)
47 if (idx != -1 && !car.IsAreaAtDoorFree(idx))
55 float animationPhase = car.GetAnimationPhase(animSource);
79 string animSource =
"";
88 carDoor.GetActionComponentNameList(action_data.
m_Target.GetComponentIndex(), selections);
89 for (
int i = 0; i < selections.Count(); i++)
102 car.ForceUpdateLightsStart();
103 car.SetAnimationPhase(animSource, phase);
112 car.ForceUpdateLightsEnd();
protected bool m_LockTargetOnUse
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool IsInReach(PlayerBase player, ActionTarget target, float maxDistance=1.0)
protected int m_StanceMask
class ActionTargets ActionTarget
protected int m_CommandUIDPerCrewIdx[4]
override void OnEndServer(ActionData action_data)
protected bool m_IsOpening
override void CreateConditionComponents()
void ActionCarDoorsOutside()
protected void FillCommandUIDPerCrewIdx(int evenCrewIdx0, int unevenCrewIdx1)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
protected void FillCommandUIDPerCrewIdx(int crewIdx0, int crewIdx1, int crewIdx2, int crewIdx3)
override void OnStartServer(ActionData action_data)
ref ActionTarget m_Target
protected int m_CommandUID
override int GetSeatIndexFromDoor(string pDoorSelection)
override string GetAnimSourceFromSelection(string selection)
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.