32 Object target_parent = null;
35 target_parent = target_item.GetHierarchyParent();
79 if(
GetGame().IsInventoryOpen() )
117 m_player.GetCraftingManager().ResetInventoryCraft();
class ActionTargets ActionTarget
void ForceTarget(Object targetObject)
void EjectAction(ActionBase action)
proto native Mission GetMission()
Super root of all classes in Enforce script.
void InventoryActionHandler(PlayerBase player)
void SetAction(ActionBase action, ItemBase target_item, ItemBase main_item)
const float MIN_DISTANCE_TO_INTERRUPT
void SetAction(ActionBase action, ActionTarget target, ItemBase main_item)
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static proto float AbsFloat(float f)
Returns absolute value.