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

Help with Inventory Trigger - Bank for Items

Status
Not open for further replies.
Level 2
Joined
Jun 9, 2013
Messages
18
I apologize in advance as I don't know how to enter all of my trigger into the "Trigger" quoter. Here is a screenshot though.

My Issue: I have created a "Bank" character that can hold 6 inv slots (Inventoy Hero Ability). I want this trigger to make it so that if the hero has 6 items already, it will put the next item into the bank characters inventory. Sometimes it works, but it will only give the "Bank" 1 or 2 items, then it stop working. I tried changing where is says "Purchasable" and "Artifact" to "Any Class" but that didnt work.

Any ideas?

Thanks in advance.
 

Attachments

  • image.jpg
    image.jpg
    106.1 KB · Views: 119
Level 2
Joined
Jun 9, 2013
Messages
18
Sorry, I fixed my typo.

Say a Hero has already picked up 6 items. His Inventory is essentially full.

If another item drops, when he goes to pick it up, since his inventory is full, it should put the new item into the "Bank" characters inventory.

Hope that help.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Why do you have Turn Off and Turn ON?>...

Your whole trigger is the problem.. why do you put the action on else?..

I am really confused with your trigger.. (or maybe i don't understant your problem)

But as you post earlier.. the easiest way is to create another hero with 6 inventory that will serves as your bank then..

Event - Unit acquires an item

Condition - Hero Manipulating Item has greater than 6 items on the inventory

Then - Item give Item Manipulated to Unit X

Unit X - is the bank
Item Manipulated is the item being acquired..
 
Level 2
Joined
Jun 9, 2013
Messages
18
Thanks for replying.

Sorry about the confusing trigger. I got it from a demo map and hoped it would work.

I tried your method, but I can't make the condition your talking about. I got the first part but what type of Condition is it? Can't find any that have "has great than X items on the inventory"

Thanks again.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Thanks for replying.

Sorry about the confusing trigger. I got it from a demo map and hoped it would work.

I tried your method, but I can't make the condition your talking about. I got the first part but what type of Condition is it? Can't find any that have "has great than X items on the inventory"

Thanks again.

Use Integer - Item.. you can find it in the list of the condition..
 
Status
Not open for further replies.
Top