9 override void CreateConditionComponents()
18 if ( player && target_entity && item )
20 if ( target_entity.IsStaticTransmitter() && target_entity.GetInventory().AttachmentCount() == 0 )
29 protected void OnExecuteImpl(
ActionData action_data )
32 EntityAI item_entity = action_data.m_MainItem;
36 if ( target_entity.GetInventory().FindFirstFreeLocationForNewEntity( item_entity.GetType(),
FindInventoryLocationType.ATTACHMENT, target_location ) )
38 action_data.m_Player.PredictiveTakeEntityToTargetAttachmentEx( target_entity, item_entity, target_location.GetSlot() );
42 override void OnExecuteClient(
ActionData action_data )
45 OnExecuteImpl(action_data);
48 override void OnExecuteServer(
ActionData action_data )
53 OnExecuteImpl(action_data);
56 override void OnEndClient(
ActionData action_data )