Buy Item Event if inventory is full

Skippy

Active Member
Reaction score
39
Hi,
I searched but haven't found the answer.

If I buy the item, "Unit - A unit Sells an item (from shop)" event is executed.
But how to detect that I tried to buy an item but failed, becaues I had full inventory? Is there any way how to do that?

Thanks for answers.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Why not just add this condition ? :S
Trigger:
  • (Number of items carried by (Triggering unit)) Equal to 6


(I take it your unit has 6 inventory slots ? :p)
 

Skippy

Active Member
Reaction score
39
Yes, but when? I need an event. I need to detect when I tried to buy the item.
A unit Sells an item isn't executed when I have full inventory.
 

Executor

I see you
Reaction score
57
No there is no event.

The only way would be a workaround via replacing all items with dummy units. This way you have to add the items manually to the hero if a dummy unit is bought, but you have more control.
 

Skippy

Active Member
Reaction score
39
Thanks, I have already done it that way but I hoped there is some other way ...
+rep anyway
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top