84 {
86 Class.CastTo(target_entity, action_data.
m_Target.GetObject() );
87 int slot_index = action_data.
m_MainItem.GetInventory().GetSlotId(0);
89 if (!action_data.
m_Player.LocalTakeEntityToTargetAttachmentEx(target_entity, action_data.
m_MainItem, slot_index ))
90 action_data.
m_Player.LocalTakeEntityToTargetAttachment(target_entity, action_data.
m_MainItem );
91 }
ref ActionTarget m_Target