Hi, I'm trying to find a function for the event when a hero purchases a tome from a shop.
I tried "Unit - A unit Sells an item (from shop)" and "Unit - A unit Uses an item", but both didn't work.
I doubt the other two (unit pawns/acquires item) would work.
The only issue I could think of is that whenever you buy a tome, it automatically uses it so the trigger wouldn't "detect" the tome being in your inventory.
Would be great if anyone has an idea!
Edit: I think the conditions may be an issue too.
I used the conditions "(Item-class of (Sold Item)) Equal to Powerup" and "((Triggering unit) is in UserHeroes) Equal to True"
For the latter, I was hoping to differentiate between AI heroes buying the tomes from User/Player controlled heroes buying them.
I tried "Unit - A unit Sells an item (from shop)" and "Unit - A unit Uses an item", but both didn't work.
I doubt the other two (unit pawns/acquires item) would work.
The only issue I could think of is that whenever you buy a tome, it automatically uses it so the trigger wouldn't "detect" the tome being in your inventory.
Would be great if anyone has an idea!
Edit: I think the conditions may be an issue too.
I used the conditions "(Item-class of (Sold Item)) Equal to Powerup" and "((Triggering unit) is in UserHeroes) Equal to True"
For the latter, I was hoping to differentiate between AI heroes buying the tomes from User/Player controlled heroes buying them.
Last edited: