16 if (
Class.CastTo(targetGB, action_data.m_Target.GetObject()))
29 if (action_data.m_MainItem)
35 targetGB.GetActionComponentNameList(action_data.m_Target.GetComponentIndex(), selections);
37 for (
int s = 0; s < selections.Count(); s++)
39 string selection = selections[s];
40 m_Slot = targetGB.GetSlotBySelection(selection);
65 if (!action_data.m_Player)
93 OnCompletePogress(action_data);
ref Param1< float > m_SpentUnits
float m_QuantityUsedPerSecond
void CAContinuousQuantity(float quantity_used_per_second)
void CAContinuousWaterSlot(float quantity_used_per_second)
override int Execute(ActionData action_data)
override float GetProgress()
float m_SpentQuantityTotal
DEPRECATED.
override void Setup(ActionData action_data)
Super root of all classes in Enforce script.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
void CalcAndSetQuantity()