Go Back   The PokéCommunity Forums > Creative Discussions > Game Development
Reload this Page Need help with RM2k Variables

Notices
For all updates, view the main page.

Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!



Reply
 
Thread Tools
  #1    
Old February 18th, 2008 (11:05 AM).
Lyon_Pelleas Lyon_Pelleas is offline
 
Join Date: Feb 2008
Gender:
Posts: 2
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.
Reply With Quote
  #2    
Old February 18th, 2008 (01:01 PM).
Firemaker's Avatar
Firemaker Firemaker is offline
Pokemon Master
 
Join Date: Apr 2004
Location: In space
Age: 20
Gender:
Nature: Lonely
Posts: 496
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
__________________
http://z8.invisionfree.com/Banto_Region
Reply With Quote
  #3    
Old February 18th, 2008 (11:09 PM).
Wichu's Avatar
Wichu Wichu is offline
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 22
Gender: Male
Nature: Naive
Posts: 2,052
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.
__________________
Reply With Quote
  #4    
Old February 19th, 2008 (03:29 PM).
Lyon_Pelleas Lyon_Pelleas is offline
 
Join Date: Feb 2008
Gender:
Posts: 2
thanks for the help, i got it running right
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 01:43 PM.