58 GetGame().GetMission().HideInventory();
77 if (
GetGame().IsInventoryOpen())
113 mngr.ClearForceTarget();
115 m_player.GetCraftingManager().ResetInventoryCraft();
class ActionTargets ActionTarget
Super root of all classes in Enforce script.
Client only - manage set up crafting on client.
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.