39 garden_base.GetActionComponentNameList(target.GetComponentIndex(), selections);
42 for (
int s = 0; s < selections.Count(); s++)
44 selection = selections[s];
45 slot = garden_base.GetSlotBySelection( selection );
50 if ( slot && slot.GetPlant() )
55 if (
m_Plant.GetPlantStateIndex() < 1 )
58 if ( item.GetQuantity() > 0 )
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ActionContinuousBase()
override void CreateConditionComponents()
void ActionDisinfectPlant()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void CreateActionComponent()
Super root of all classes in Enforce script.
const float GARDEN_DISINFECT_PLANT
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.