93 {
95 Class.CastTo(target_entity, action_data.
m_Target.GetObject() );
96 int slot_index = action_data.
m_MainItem.GetInventory().GetSlotId(0);
98 if (!action_data.
m_Player.LocalTakeEntityToTargetAttachmentEx(target_entity, action_data.
m_MainItem, slot_index ))
99 action_data.
m_Player.LocalTakeEntityToTargetAttachment(target_entity, action_data.
m_MainItem );
100 }
ref ActionTarget m_Target