• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Item Equipment System

Status
Not open for further replies.
Level 19
Joined
Apr 10, 2010
Messages
2,789
Can anyone tell me on how I could make an item equiptment using triggers. It like this: A unit buys an item which is Maul of Strength (for example), then when the player clicks the item icon, the unit equips the item, and it shows that he/she is holding it, or equiping. How do I do it? Please help.
 
Level 13
Joined
Apr 15, 2008
Messages
1,063
It is going to be a little bit harder than that, you would need to store the special effect in some variable, so it can be removed when the weapon is unequipped.
Also, if you wanted the item to give some bonuses only when equipped, you'll need to add them with triggers, too.

IMHO it would be easiest to create two versions of the item, equipped and unequipped. When you click it, it switches to the other version (triggered).
The unequipped version does nothing.
The equipped has, besides the bonuses it provides, an ability that has the weapon model as effect, attached to right hand.
 
Status
Not open for further replies.
Top