The use of Terrain Tag
Have you ever wonder what the Terrain Tag was used for? Well you've come to the right place! This tutorial is best used for making multiple events, as in events with the same...event!
Ok I already created a map, here's a preview
Here's the events that's going to happen on these numbers
1- Take damage from stepping on the lava spots
2- Pick up herbs
3- Fall into a hole
4- Get yelled at a demon for stepping on his ornate rug :'(
5- Encounter a battle by exploring the grass field (Like Pokemon, when you explore the tall grass area)
Before we start, create a variable. After that, create an event, then go on event commands and select, control variable. On the top, where it says "Single", select your newly created variable. After that, on the "Operand" section, click "Character" and click on the second box(Left to Right), then select Terrain Tag. Once that's over click OK, then change the "Trigger" to "Parallel". Oh and also change the "Encounter" to "Disable".
Oh and change your Terrain numbers exactly like mine. Once you master this, you can make your own style of Terrain Tags!
This will activate all your floor effect needs!
1Create another event, after that create a Event Command, then create a "Conditional Branch". Once that's done, select variable on the Conditional Branch, select your floor effect variable than change the constant to 1.
Note) The constant numbers represent the Terrain Tag number if the variable is selected on Terrain Tag. Since the Terrain Tag number goes 1-7, the constant number can only reach 1-7.
Example) Terrain 1 = Constant 1, Terrain 2 = Constant 2, blah blah blah
Note) You must make the character move/transfer him/her out of the Terrain, otherwise the even will spam the poor character to death. :'(
Note) Always put a "Wait For Move Complete" at the end. This will prevent the event from happening multiple times at once
Example) You take more than 10 damage from stepping on the Terrain once.
Now, copy and paste this 5 times, inside the "else" section, and change the constant by 1s. Make sure your last conditional branch doesn't include a "else" option.
This is for the other Terrain Tags.
Now this is optional, you decide what the event is going to occur. I've decided to flash the screen red, for 3 frames, then subtracted the parties HP by 10, after that I set a fire animation on the player. Once the animation is played the character will jump two times, after the first jump, the second jump would take the player away from the lava floor.
So whenever the player steps on any Terrain that's numbered 1, He/she will take damage.
2This one is fairly simple, and a picture is worth a thousand words, so no explaining needed.
3For the third one, I'm planning to make the character vanish as he/she steps into the hole, then reappear on the spawn point. You can follow this exactly, but you can change it a bit. Such as going to the gameover screen other then reappearing.
Now, create an exclamation animation, to give the player a shock, then change his/her "Opacity" slowly. Not all at once or your result won't get the vanishing illusion. After disappearing, change the fading action to its opposite, or give him/her death...
4No need to explain, I bet you people care about Terrain Effect event 5 than any other Terrain Effect event...
5This section is where the Encounter Disable, you inserted comes to action. Here comes the grand finale!
After that, right click your map and go to map properties and add monsters. If you want a rare monster in, change the encounter steps. If you want common monsters and rare monsters. Just spam the box with common monsters. I suggest changing the Encounter Steps below 5. My bad on the picture.
There's a premium version of this which includes percentage, but then I discovered
way to much bugs...so forget that. Unless you find a way.
Download
Credits@ WhyMischievous
If you want me to describe more, by scratch, for the Terrain Tag events(Besides 1 and 5) let me know, I'll be glad to help!
If your planning to share this to other sites...LET ME KNOW!! Oh and give me credit as well. No copying, pasting, and changing the credits.
One more thing, sorry for any grammatical errors, if there is any.
OPPS, forgot to post this on the Tutorials Database :'(