32 Object target_parent = null;
35 target_parent = target_item.GetHierarchyParent();
79 if(
GetGame().IsInventoryOpen() )
117 m_player.GetCraftingManager().ResetInventoryCraft();
class ActionTargets ActionTarget
void EjectAction(ActionBase action)
void ForceTarget(Object targetObject)
proto native Mission GetMission()
Super root of all classes in Enforce script.
Client only - manage set up crafting on client.
void SetAction(ActionBase action, ItemBase target_item, ItemBase main_item)
void InventoryActionHandler(PlayerBase player)
void SetAction(ActionBase action, ActionTarget target, ItemBase main_item)
const float MIN_DISTANCE_TO_INTERRUPT
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.