43 if (
item.GetQuantity() <= 0)
77 if (
dist <
carS.GetActionDistanceCoolant())
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
ref CABase m_ActionComponent
const float TIME_TO_REPEAT
override void CreateActionComponent()
override void CreateConditionComponents()
override bool IsUsingProxies()
const string RADIATOR_SELECTION_NAME
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
provides access to slot configuration
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
DayZPlayerConstants
defined in C++
const int LIQUID_RIVERWATER