Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Sat 15/09/2018 19:02:29

Title: SOLVED: Player won't lose inventory
Post by: Slasher on Sat 15/09/2018 19:02:29
For some strange reason my player will not lose any inventory when instructed.

3.4 0.16

Example
Code (ags) Select

cJason.LoseInventory(iFlower);
cJason.ActiveInventory=null;


EDIT: I amended the item inventory width in window by -4 pixels and it's fine now (nod)


Title: Re: SOLVED: Player won't lose inventory
Post by: Khris on Sun 16/09/2018 18:24:14
I'm guessing you must've also sacrificed a goat and mumbled a spell, because those two things are completely unrelated.