- Joined
- Mar 21, 2007
- Messages
- 155
ok. i'm sorry, i know some1 will answer this just like that, but i'm stuck in a noob circle. how do i create a condition to check what a unit has in its inventory?
i'm trying to make a stacking system whereby there is a potion. you pick it up. (you may or may/not have other items in your inventory) and only if you don't already have one, it gets added to your inventory as normal with 1 charge. now if i go and pick up another one. i want it so that the item gets removed and a extra charge is put on the potion i have. (stacking system =D).
actions, slight problem but with time i can work it. but i can't create a condition that... well you know what i mean.
i would greatly appreciate someone who could tell me exactly how i should trigger this
ty =D
p.s. PLEASE!! say there is a way to do this in GUI, i HATE jass
i'm trying to make a stacking system whereby there is a potion. you pick it up. (you may or may/not have other items in your inventory) and only if you don't already have one, it gets added to your inventory as normal with 1 charge. now if i go and pick up another one. i want it so that the item gets removed and a extra charge is put on the potion i have. (stacking system =D).
actions, slight problem but with time i can work it. but i can't create a condition that... well you know what i mean.
i would greatly appreciate someone who could tell me exactly how i should trigger this
ty =D
p.s. PLEASE!! say there is a way to do this in GUI, i HATE jass
Last edited: