Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionstartengine.c File Reference

Go to the source code of this file.

Data Structures

class  ActionStartCarCB

Functions

override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
ActionStartCarCB ActionContinuousBaseCB ActionStartEngine ()
override bool CanBeUsedInVehicle ()
override void CreateActionComponent ()
override void CreateConditionComponents ()
override bool HasTarget ()
override void OnExecute (ActionData action_data)
override void OnFinishProgress (ActionData action_data)
override bool UseMainItem ()

Variables

bool m_BatteryCon = false
bool m_BeltCon = false
bool m_FuelCon = false
bool m_SparkCon = false
static const float MINIMUM_BATTERY_ENERGY = 5.0
const float ROUGH_SPECIALTY_WEIGHT = 0.5
const int SOUND_IGNITION_DELAY = 700
 DEPRECATED.

Function Documentation

◆ ActionCondition()

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

Definition at line 26 of file actionstartengine.c.

References ActionTarget, and HumanCommandVehicle::GetTransport().

◆ ActionStartEngine()

Definition at line 1 of file actionstartengine.c.

Referenced by ActionConstructor::RegisterActions(), and ManBase::SetActions().

◆ CanBeUsedInVehicle()

override bool CanBeUsedInVehicle ( )

Definition at line 79 of file actionstartengine.c.

◆ CreateActionComponent()

override void CreateActionComponent ( )

Definition at line 12 of file actionstartengine.c.

References m_CommandUID, and m_StanceMask.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 20 of file actionstartengine.c.

◆ HasTarget()

override bool HasTarget ( )

Definition at line 84 of file actionstartengine.c.

◆ OnExecute()

override void OnExecute ( ActionData action_data)

Definition at line 68 of file actionstartengine.c.

References ActionData, and HumanCommandVehicle::GetTransport().

◆ OnFinishProgress()

override void OnFinishProgress ( ActionData action_data)

Definition at line 39 of file actionstartengine.c.

References ActionData, g_Game, and HumanCommandVehicle::GetTransport().

◆ UseMainItem()

override bool UseMainItem ( )

Definition at line 89 of file actionstartengine.c.

Variable Documentation

◆ m_BatteryCon

bool m_BatteryCon = false
private

Definition at line 98 of file actionstartengine.c.

◆ m_BeltCon

bool m_BeltCon = false
private

Definition at line 100 of file actionstartengine.c.

◆ m_FuelCon

bool m_FuelCon = false
private

Definition at line 101 of file actionstartengine.c.

◆ m_SparkCon

bool m_SparkCon = false
private

Definition at line 99 of file actionstartengine.c.

◆ MINIMUM_BATTERY_ENERGY

const float MINIMUM_BATTERY_ENERGY = 5.0
staticprivate

Definition at line 97 of file actionstartengine.c.

◆ ROUGH_SPECIALTY_WEIGHT

const float ROUGH_SPECIALTY_WEIGHT = 0.5
private

Definition at line 96 of file actionstartengine.c.

◆ SOUND_IGNITION_DELAY

const int SOUND_IGNITION_DELAY = 700
private

DEPRECATED.

Definition at line 95 of file actionstartengine.c.