675    {
  676        if (ForceActionCheck(player))
  677        {
  679            return;
  680        }
  681        
  683        array<ActionBase_Basic> possibleActions;
  684        ActionBase action;
  685        int i;
  686 
  688        if (player && player.IsInVehicle())
  689        {
  690            HumanCommandVehicle vehCommand = player.GetCommand_Vehicle();
  691            if (vehCommand)
  692            {
  694                if (trans)
  695                {
  698                }
  699            }
  700            
  702            {
  703                ClearForcedTarget();
  704            }
  705        }
  706        
  707        target = m_ForcedTarget;
  709        
  710        if (target && target.GetObject())
  711        {
  712            target.GetObject().GetActions(this.
Type(), possibleActions);
 
  713            if (possibleActions)
  714            {
  715                for (i = 0; i < possibleActions.Count(); i++)
  716                {
  717                    action = ActionBase.Cast(possibleActions.Get(i));
  718                    if (action.
Can(player, target, 
m_MainItem, action_condition_mask))
 
  719                    {
  721                        return;
  722                    }
  723                }
  724            }
  725        }
  726    }
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
 
class BaitData m_MainItem
 
bool Can(PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
 
proto native Transport GetTransport()