jobjorgos
Member
Whenever I touch a fish item in the game, it get automatilly picked up to my bag if I got free inventory space with: scr_pickup_item3 (this works fine).
Whenever I press 'U' it should eat the fish, removing it from my bag with scr_remove_item3.
Somehow scr_remove_item3 is not working, the fish remains in the inventory and the values of global.inventory[i,2] does not reset somehow.
I really tried so much the past weeks to solve this but without succes so far. If anybody knows with what script I can clear the value of global.inventory[i,2,0] please let me know it would be really appricated .
EDIT: I just found the solution! global.inventory[i,2]=""; worked!
Whenever I press 'U' it should eat the fish, removing it from my bag with scr_remove_item3.
Somehow scr_remove_item3 is not working, the fish remains in the inventory and the values of global.inventory[i,2] does not reset somehow.
I really tried so much the past weeks to solve this but without succes so far. If anybody knows with what script I can clear the value of global.inventory[i,2,0] please let me know it would be really appricated .
EDIT: I just found the solution! global.inventory[i,2]=""; worked!
Last edited: