37 if (
item.GetQuantity() <= 0)
47 if (
car.IsDamageDestroyed())
66 if (
dist <
carS.GetActionDistanceFuel() *
carS.GetActionDistanceFuel())
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
bool IsTransport(ActionTarget target)
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
ref CABase m_ActionComponent
override void CreateActionComponent()
const float TIME_TO_REPEAT
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
const string FUEL_SELECTION_NAME
override void CreateConditionComponents()
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
DayZPlayerConstants
defined in C++
const int LIQUID_GASOLINE