Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2004-06-19, 12:12 PM in reply to HungryforLint's post starting "Oh ic.... i understand how it holds..."
That's actually not to hard to figure out once you understand the coding.

It's basically like this:

Start Place:

Get Sword
Set Upgrade Level to 1
Move to Shop

---

Shop:

Ask to upgrade. If you don't want to, the event ends.

<>If you're at upgrade level 1:
...<>Ask to upgrade to level 2 - if yes, Change Sword to level 2 and remove old level 1 sword, then set Upgrade Level to 2
....<>End event

<>If you're at upgrade level 2:
...<>Ask to upgrade to level 3 - if yes, Change Sword to level 3 and remove old level 2 sword, then set Upgrade Level to 3
...<>End event

<>If you're at upgrade level 3:
...<>Ask to upgrade to level 4 - if yes, Change Sword to level 4 and remove old level 3 sword, then set Upgrade Level to 4
...<>End event

<>If you're at upgrade level 4:
...<>Explain that you can't upgrade any more
...<>End event

----------------

And this repeats for each character, basically. I actually could simplify the coding more by adding more variables, now that I think about it.

The idea of the variables in the Upgrade Demo (not actually a Blacksmith Demo, that's a separate one) is to keep track of what upgrade level each character's weapons are. There's also the pot of gold variable which transfers money into your inventory, but that's rather easy to see.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules [Forum 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 GMT -6. The time now is 05:52 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.