How do I do this? Or, how do I make an event that when set on a tile warps the player somewhere when they have enough money (the money will be deducted from your pool as well). If I can't do it with money, how do I make an event that when you have the right items, it will teleport you to another floor?
I want to make a door that will only open when you collect enough money.
RPG Maker MV SupportTry adding a conditional branch to your teleport event that checks the player's current gold to see if it's at or above the amount you want. Then, within the conditional branch, use the 'Change Gold' event to remove the correct amount of gold, and then teleport the player. If the conditional branch fails, (The player doesn't have enough money), put a message saying that 'they don't have enough gold' in the conditional branch's else section.
(And for items, use the conditional branch to check for an item, then remove it using the change items command.)
Your event should look like this: (Assuming the cost is 500 gold)
If : Gold >= 500
Change Gold : -500
Transfer Player : Target Location (0,0)
Else
Text : None, Window, Bottom
: You don't have enough gold.
End
(And for items, use the conditional branch to check for an item, then remove it using the change items command.)
Your event should look like this: (Assuming the cost is 500 gold)
If : Gold >= 500
Change Gold : -500
Transfer Player : Target Location (0,0)
Else
Text : None, Window, Bottom
: You don't have enough gold.
End
Thanks, that worked! Relatedly, I have ice eggs that are supposed to open, cause a fight, then be removed when you have an item, a Firey Gemstone, and also remove one Gemstone. I currently have it set up so opening the chest that has the Stone sets 001 to On, the Egg activates when 1 is On and does it's stuff, then sets it to Off. This kinda works, haha. How do I get the former to happen though? Same way as the gold check?
All you need to do for your ice egg is have a conditional branch to check the player's inventory for a Firey Gemstone, then if the player has one, start the battle and remove the gemstone just like with the gold. However, you don't need to waste a global switch to despawn the egg, a self switch will suffice.
Your event should look similar to this:
If : Party has Fiery Gemstone
Change Items : Fiery Gemstone - 1
Battle Processing : Ice Egg's Enemy
Control Self Switch : A = ON
: Else
Text : None, Window, Bottom
You'll need a Fiery Gemstone.
End
Leave the second event page blank with no map graphic, and have it activate with self switch A to have the egg despawn.
Let me know if you need anything else! 🙂
Your event should look similar to this:
If : Party has Fiery Gemstone
Change Items : Fiery Gemstone - 1
Battle Processing : Ice Egg's Enemy
Control Self Switch : A = ON
: Else
Text : None, Window, Bottom
You'll need a Fiery Gemstone.
End
Leave the second event page blank with no map graphic, and have it activate with self switch A to have the egg despawn.
Let me know if you need anything else! 🙂
Thanks again!
What does Batch Entry do? The check box when using Show Text. I clicked it but it didn't seem to do anything.
Also I have a patch of lava floor I want to make impassable and later be able to cross with... I don't know yet, so let's say F-Boots. For future reference how will I make a key item that allows passage over a certain floor type, and also a spell that will allow passage over multiple types of floor (so that you can't Fly over, say, pillars, only lava/water/etc), lasts 200 moves, and kills the player (or reduces the party to 1 HP and sets them at a specific point) if they're over a deadly terrain?
Also also is it possible to have a certain encounter only in a certain area of the map, without creating an event to have moving monsters? Actually, that makes me think... I could just have invisible wandering monsters there and it'd be about the same. Could make the monsters tougher so you're scared you'll have to fight more just when they're all gone.
What does Batch Entry do? The check box when using Show Text. I clicked it but it didn't seem to do anything.
Also I have a patch of lava floor I want to make impassable and later be able to cross with... I don't know yet, so let's say F-Boots. For future reference how will I make a key item that allows passage over a certain floor type, and also a spell that will allow passage over multiple types of floor (so that you can't Fly over, say, pillars, only lava/water/etc), lasts 200 moves, and kills the player (or reduces the party to 1 HP and sets them at a specific point) if they're over a deadly terrain?
Also also is it possible to have a certain encounter only in a certain area of the map, without creating an event to have moving monsters? Actually, that makes me think... I could just have invisible wandering monsters there and it'd be about the same. Could make the monsters tougher so you're scared you'll have to fight more just when they're all gone.
Batch Entry allows you to write more than 4 lines of text at once. It's used for when the same character is talking for an extended period of time (Over 4 lines). Once you close the window, it'll split the text into 4 line chunks, but it still works. Try checking the Batch Entry checkbox, then writing 5 lines of dialogue to see it in action.
EDIT:
I don't know how to do anything you mentioned in your impassible terrain questions, there are probably other people who know how to do that with events, however, it might require the help of a plugin.
As for encountering certain monsters in certain sections of the map, you need to click the R button below the tileset palette (Where you grab the tiles used for mapping), which brings up a sheet of numbers 1 to 255. Grab any of those numbers and put them on the map tiles you want the special encounter to occur on. Then, when making the troop encounters in the map data, switch the range to 'Specify by Region ID' and make one of the numbers the number you pasted on the map. That troop will now only occur on tiles with the specified numbers.
If you have another question, please post a new reply. It's against forum rules to post twice in a row, so I'd have to keep editing this post.
EDIT:
I don't know how to do anything you mentioned in your impassible terrain questions, there are probably other people who know how to do that with events, however, it might require the help of a plugin.
As for encountering certain monsters in certain sections of the map, you need to click the R button below the tileset palette (Where you grab the tiles used for mapping), which brings up a sheet of numbers 1 to 255. Grab any of those numbers and put them on the map tiles you want the special encounter to occur on. Then, when making the troop encounters in the map data, switch the range to 'Specify by Region ID' and make one of the numbers the number you pasted on the map. That troop will now only occur on tiles with the specified numbers.
If you have another question, please post a new reply. It's against forum rules to post twice in a row, so I'd have to keep editing this post.
Is there a way to make wandering monsters work like so: when they touch, say two types of wandering monster, one is randomly destroyed/removed. To simulate monster infighting. If I can be more complicated, can I make it so the troop of a monster changes to another (a higher level version of the same troop) when it "destroys" an opposing monster? And make it so the one type of monster can't harm its comrades.
I haven't really experimented with on-map monster encounters like the ones you're describing, so I wouldn't know how to do anything like that. Anything that's niche to certain games you'd need someone smarter than me to figure out. However, if you have another question about a more broad or simple topic, I'd be glad to help! 🙂
(Maybe try asking if there's a plugin for that effect on the plugin forum)
(Maybe try asking if there's a plugin for that effect on the plugin forum)
Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-make-a-door-that-will-only-open-when-you-collect-enough-money.114863/