11.03.2010, 20:57
basically you arent declaring it correctly
you cannot use this: if(pickupid == suitcase, bag) {
if you want to have it show then you will probably have to assign each one a second variable on pickup
if(pickupid == suitcase) {
if(pickupid == bag) {
the problem is you cant pickup more than 1 item at a time so you need to store in the script what and who has picked it up.
stick another if in there to check if the player already picked one up and if so then on the second one you get the messages you want.
you cannot use this: if(pickupid == suitcase, bag) {
if you want to have it show then you will probably have to assign each one a second variable on pickup
if(pickupid == suitcase) {
if(pickupid == bag) {
the problem is you cant pickup more than 1 item at a time so you need to store in the script what and who has picked it up.
stick another if in there to check if the player already picked one up and if so then on the second one you get the messages you want.