37 target_GB.GetActionComponentNameList(action_data.
m_Target.GetComponentIndex(), selections);
39 for (
int s = 0; s < selections.Count(); s++)
41 string selection = selections[s];
42 m_Slot = target_GB.GetSlotBySelection( selection );
protected void CalcAndSetQuantity()
ref ActionTarget m_Target
protected ActionBase m_Action
void OnCompletePogress(ActionData action_data)
protected float m_ItemMaxQuantity
protected float m_QuantityUsedPerSecond
protected ref Param1< float > m_SpentUnits
protected float m_ItemQuantity
protected float m_SpentQuantity
protected float m_PlantThirstyness
void CAContinuousWaterSlot(float quantity_used_per_second)
protected float m_TimeToComplete
override int Execute(ActionData action_data)
override float GetProgress()
protected float m_SpentQuantityTotal
protected float m_StartQuantity
override void Setup(ActionData action_data)
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto float Min(float x, float y)
Returns smaller of two given values.