- Joined
- Dec 12, 2006
- Messages
- 1,664
My title question is a little vague. Allow me to elaborate.
I am making an RPG, and I wanted to add an equipment system to it. So, I searched for the one I thought to be the most efficient and simplest to impliment, and I went with The Flood's Equipment System[url].
It's perfect, except I don't know how to get it to add attachments when a hero equips the item. Here's the code:
As you can see, there are no parameters for an attachment. Can someone help me with this?
I am making an RPG, and I wanted to add an equipment system to it. So, I searched for the one I thought to be the most efficient and simplest to impliment, and I went with The Flood's Equipment System[url].
It's perfect, except I don't know how to get it to add attachments when a hero equips the item. Here's the code:
JASS:
// --------------------------------------
set udg_i[1] = ( udg_i[1] + 1 ) (Don't edit this)
set udg_Head_IType[udg_i[1]] = 'I00N' (The Letters and numbers for this item) (Ctrl + D)
set udg_Head_Arm_Bonus[udg_i[1]] = 1 (How much armor bonus the item will give)
set udg_Head_Str_Bonus[udg_i[1]] = 0 (How much Strength bonus the item will give)
set udg_Head_Agi_Bonus[udg_i[1]] = 0 (How much Agility Bonus the item will give)
set udg_Head_Int_Bonus[udg_i[1]] = 0 (How much Inbtelligence Bonus the item will give)
set udg_Head_Ability_1[udg_i[1]] = 0 (If the item should give any bonus, attackspeed or anything, paste your abilities letters and numbers here (0 or 'null' is default = nothing))
set udg_Head_Ability_2[udg_i[1]] = 0 (If the item should give any bonus, attackspeed or anything, paste your abilities letters and numbers here (0 or 'null' is default = nothing))
As you can see, there are no parameters for an attachment. Can someone help me with this?