hello to all,
I'm having problems when I want to discard a inventory item,
If I use something like:
function checkpoisonmosquito() {
if (GetGlobalInt(6)==1) {
ObjectOn(7);
GiveScore(5);
LoseInventory(8);
AddInventory(1);
}
}
ags doesn't lose item 8 but does add item 1
I've place Wait(1) betwen 'Lose' and 'Add' but it doesn't work,
what am I doing wrong?
thanks
Make sure you don't have more than one inv #8. For example, if you are testing and hit ctr-s to get all the inv, and then you pick up the same inv, you'll still have one left if you use loseinv once....
Hope thats the prob....cause it's the easy solution...heh
thanks squinky, I just added a second Loseinventory and it's working fine now,
thanks again :)