PDA

View Full Version : Need help with RM2k Variables


Lyon_Pelleas
February 18th, 2008, 11:05 AM
This is a bit hard to explain, but I'll do my best with it; Say you have a party of two characters, and one of them leaves the party, but is supposed to be also taking the items and gold, since it was all theirs anyway, is there a way to remove the items and gold, so they may be stored later, that way the second character does not have either the gold or the items? But at the same time, when the game returns to the first character, the second characters items are removed and stored, and the first character gets their gold and items back?

any help would be appreciated, I experimented with the variables but can't quite get it to work.

Firemaker
February 18th, 2008, 01:01 PM
Make a common event.
If switch (Ex. FriendLeave) is on, remove all items and set gold to 0.

Set the event to CALL and bring it up later

Wichu
February 18th, 2008, 11:09 PM
Wouldn't you have to set a variable to the amount of gold and items, so you can bring them back later? I don't have much experience with RM2K, but it should be something like that.

Lyon_Pelleas
February 19th, 2008, 03:29 PM
thanks for the help, i got it running right