Here I'll explain it to you: I ALSO UPLOADED A DEMO MAP
Method 1:
Step 1: Create a new abillity from an item wich increases your attribute lets use for example +2 to All Atributes.This can be found in the object editor then select Abillities wich is on the very top.
Step 2: Scroll Down the abillity and you are going to see that you can modify the abillity like the atributes given but we are looking for something called ART TARGET and double click on this field now click on ADD MODEL
and you should get a box. There are going to be three lines first you can select a model from Blizzard regular models or down this bar is the Imported bar where we can see our imported models, select the model you wish to attach to the unit.
Step 3: Down the field ART TARGET theres is something called Target Attachmet Point 1 we are going to use this one becaus we are just attaching a sword. Now select hand in one string and right in another string abd it should be readable like this hand, right.
Step 4: ART-TARGET ATTACHMENTS select 1 because we only one want sword.
Step 5: Add the abillity to the hero and it should have a sword. Or you can add the abillity to the item and when the hero equips the item hes going to get the sword inmeadiately.
Method 2: (TRIGGERS)
Step 1: Use Special Effects. But I would say use step 1 because its easier.
Attachments Points;
Chest
Foot Left
Foot Right
Hand Left
Hand Right
Head
Origin
Overhead
Weapon