Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionCarDoorsOutside Class Reference
Inheritance diagram for ActionCarDoorsOutside:
ActionInteractBase ActionCloseCarDoorsOutside ActionOpenCarDoorsOutside

Protected Member Functions

void ActionCarDoorsOutside ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override void CreateConditionComponents ()
void FillCommandUIDPerCrewIdx (int crewIdx0, int crewIdx1, int crewIdx2, int crewIdx3)
void FillCommandUIDPerCrewIdx (int evenCrewIdx0, int unevenCrewIdx1)
override void OnEndServer (ActionData action_data)
override void OnStartServer (ActionData action_data)

Protected Attributes

int m_CommandUIDPerCrewIdx [4]
bool m_IsOpening = true

Detailed Description

Definition at line 1 of file actioncardoorsoutside.c.

Constructor & Destructor Documentation

◆ ActionCarDoorsOutside()

Member Function Documentation

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprotected

reach check from outside of car

player is outside of vehicle

player is looking at one of the doors, can't open if obstructed

if player is in car and cannot reach doors

is in reach, should open the door

Definition at line 19 of file actioncardoorsoutside.c.

References ActionTarget, Class::CastTo(), UAMaxDistances::DEFAULT, CarScript::GetAnimSourceFromSelection(), CarScript::GetSeatIndexFromDoor(), ActionBase::IsInReach(), AnimatedActionBase::m_CommandUID, and m_IsOpening.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprotected

◆ FillCommandUIDPerCrewIdx() [1/2]

void FillCommandUIDPerCrewIdx ( int crewIdx0,
int crewIdx1,
int crewIdx2,
int crewIdx3 )
inlineprotected

◆ FillCommandUIDPerCrewIdx() [2/2]

void FillCommandUIDPerCrewIdx ( int evenCrewIdx0,
int unevenCrewIdx1 )
inlineprotected

Definition at line 129 of file actioncardoorsoutside.c.

References FillCommandUIDPerCrewIdx().

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
inlineprotected

Definition at line 109 of file actioncardoorsoutside.c.

References ActionData.

◆ OnStartServer()

override void OnStartServer ( ActionData action_data)
inlineprotected

Field Documentation

◆ m_CommandUIDPerCrewIdx

int m_CommandUIDPerCrewIdx[4]
protected

Definition at line 3 of file actioncardoorsoutside.c.

Referenced by FillCommandUIDPerCrewIdx().

◆ m_IsOpening


The documentation for this class was generated from the following file: