• 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.

How Would You Remove One Hand Attachment If You....

Status
Not open for further replies.
Level 11
Joined
May 10, 2008
Messages
1,001
How Would You Remove One Hand Attachment If You Already Have An Attachment On That Hand, Leg, Chest, Etc....

Im Using An Item With An Ability On It Too Add My Attachments...
Please Help:cry:
 
Level 17
Joined
May 6, 2008
Messages
1,598
I don't get your problem.

You want a system that makes a hero only be able to equip one sword, one shield, one leg etc?
 
Level 11
Joined
May 10, 2008
Messages
1,001
wat i mean is... I have an item that has an ability on it.. that has an attachment on it... and what im trying to do is.. when u buy 2 items.. (weapons) i only want one too show up instead of both
 
Level 5
Joined
Mar 15, 2006
Messages
81
yep pretty easy

unit - a unit aquires an item

if item = <blah>

if hero manipulating item has an item of type <blah> then do
special effect - add <effect> to hand, left
else do
special effect - add <effect> to hand, right

or something similar
dont forget to set those special effects as variables, because you will have to remove them when you drop the item
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
lul ur units can cary two weapon ?
liek:
- hey look I use one axe, one sword, one bow and 2 hammers with my left hand
- >.<
 
Status
Not open for further replies.
Top