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

Hiding the inventory of enemies, but not from allies

Status
Not open for further replies.
Level 8
Joined
Mar 12, 2008
Messages
437
Is there a way to hide the inventory of enemies, but not the inventory of allies (sorry for the error in the title)? I don't find any trigger.

The gameplay constant "Enemy inventory display" toggles for all players, including allies, so that doesn't work either.
 
Last edited:
Level 8
Joined
Mar 12, 2008
Messages
437
Why do you need to hide them anyway, what makes the gameplay better if you hide the items?

In this map, it's basically player vs creeps. In this case, showing enemy inventories doesn't make the game that much better.

Anyway, to me it feels way more natural to give the creep an item in its inventory and drop it on death, than to just trigger it to drop the item on death. Combined with the fact that you shouldn't be able to tell what you will get, that's why I want to do this.

But I guess I'll just have to do it the other way.
 
You can do it a third way which is basically your first way except they'll still see the inventory however it'll look empty... http://www.hiveworkshop.com/forums/...ls-456/hidden-inventories-little-code-238761/ Use that and then make dummy items for however many is missing or use number of slots to match how many items should be hidden. You only need a custom inventory ability in a disabled spellbook to pull this off.
 

sentrywiz

S

sentrywiz

How about disabling selection when you try select an enemy?

  • Game - Disable selection and deselection functionality (Enable selection circles)
 
Status
Not open for further replies.
Top