The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Rezistik on October 22, 2006, 02:47:35 AM
-
How can I make a hospital? I tried many different ways and i cant figure it out
-
you mean an event that heals you?
-
sort of, an event like a shop where you pay the npc to heal you, like in final fantasy and like everyother rpg where you go to an "Inn" stay a night and are magiccly healed but i dont want an inn i want a hospital
-
whats the difference?
-
one you have to pay gold for the other one just heals you for free
-
okay,this is easy.
If you want free healing it would be something like this.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg120.imageshack.us%2Fimg120%2F1207%2Funtitledlv9.jpg&hash=3ca86e5433cdb369e82ca84f466676327a35b61e)
If you want it to cost it would be like this- Though you can change the amount of gold to whatever.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg214.imageshack.us%2Fimg214%2F390%2Funtitled2ui5.jpg&hash=302c91e161adedec50632bd0ef0b5fd54b6991d5)
-
^you forgot to include a conditional branch so somebody with 0 gold could get healed for free
top one for costing money, bottom one is free
you might wanna also include a move event to where the bed or whatever you're getting healed in is and maybe a fade out and fade in along with some sound effects
-
okay thanx
-
^you forgot to include a conditional branch so somebody with 0 gold could get healed for free
top one for costing money, bottom one is free
you might wanna also include a move event to where the bed or whatever you're getting healed in is and maybe a fade out and fade in along with some sound effects
eh,no,the one on the top is free,teh one on the bottom isnt...
-
no, the one that takes away money is not the free one
go get your eyes checked....
-
However, it does not prevent someone without 50 gold from using the service. At the beggining of the page, set a variable (gold) to be equal to the current amount of money held by the player. When the player selects the "stay" option, create ANOTHER conditional branch. Make it so that if 'gold' is greater than or equal to 50, then it goes on to complete the inn process. Also, make it so that another branch is created when the 'gold' variable is less than fifty. In THAT branch, make it say something like "you can't stay, you lack the proper funds" or something.
-
arrow check my attachment up above
-
Is 'money' a variable? You didn't initialize it...
-
doesn't need a variable, it checks the actual currency the character is carrying
-
OH YEAH it's XP.