Page 2 of 2

Re: How to get the stacksize? or quanity of a stackable item

Posted: Fri Sep 28, 2012 11:38 am
by Blichew
Workaround:

1. Store number of keys in a global variable (start the function to check, and set, the number of keys by using a hidden pressure plate in front of the lock).
2. Create function that will run on activation of the lock, it will return the number of keys minus 1 to the first slot in champ1 inventory.

hope this helps :)