Hi, I’m a newbie in this kind of stuff and I kinda stuck on some of the script…
You see I was developing game where the player collect a bottle and at the corner of the player can dump the bottle in exchange for money.
So when I have 10 bottle and I go to the corner, I would get $20 and the bottle count become zero again.
at first my initial script was like:
function cornerZone ()
money = bottle * 2
bottle = 0 – to make the bottle count to zero again
end
Obviously that doesn’t work because it become zero in the end for the money. Is there an easy way to fix this? [import]uid: 117857 topic_id: 20389 reply_id: 320389[/import]