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

Item Restrictions

Status
Not open for further replies.
Level 2
Joined
Dec 16, 2008
Messages
8
Hi

I'm working on a campaign where different items are picked up and visibly add to the model. Armor, Weapons, Shields, Helmets... etc. One unit type is a huge panda, and another is a small human. When the human picks up weapons or armor etc scaled for the panda, it looks ridiculous. Is there a way to classify items such that they can only be picked up by one type of unit?

Perhaps I could set the classification of the Panda characters to "giant" and somehow convert the items such that they can only be picked up by units classed as giant.

I've been digging through the editor for a while for a way to do this. Any ideas? Maybe others have done this before?
 
Level 18
Joined
Sep 27, 2005
Messages
2,069
So maybe then use item clasification ( miscelanious, campaign, purchasable ) each one would be for giant normal small and then restrict giants for miscelanious

unit aquries an item
manipulated item = item of type purchasable / giant )

if unit is giant then
nothing
else item remove item being manipulated, creeate item of unit siz
 
Level 2
Joined
Nov 16, 2008
Messages
24
uhhh.. don't use miscellaneous, it causes my warcraft 3 to crash... on all my comps ans it only happens when that trigger fires....
 
Status
Not open for further replies.
Top