Hi again, everybody. I have successfully finished creating the ice pillars as I wanted.
both
@ShadowDragon 's and
@Zakarijah 's ideas served me well. Mix the two and you'll get it.
I proceed to explain how I did it:
the first thing I did was create the ice pillar that
@Zakarijah mentions
My set up requires a couple different events that can be copy/pasted and a few things changed to use them on different maps.
Firs, I have this event which flips a switch to let the game know you're 'above' the pillar after you climb up some vines
View attachment 216519
Then I have a similar event right below the first one, which flips a switch to let the game know you're 'below' the pillar again
View attachment 216520
Then I have the pillar itself, which has three pages and looks like this
Edit: Do NOT have Self Switch A as a condition, and delete "Control Self Switch : A = OFF
View attachment 216521
EDIT: Delete 'Control Self Switch : A = ON
View attachment 216522View attachment 216523
Then lastly, I have the 'jump' events for crossing the pillar. This event checks that the pillar switch is 'on' and makes the character jump across it. You would repeat the same event on the 'ending point' (cliff) but change the jump directions
View attachment 216524
then download the plugin
@ShadowDragon suggested, called
RED_SetRegionID
Mine is a setup differently and require scriptcalls and selfswitch check.
as you can jump on the 1st you, you didn't check if you can jump on the
next (which should jump back to the ground).
as you have the top part, I use a RED_setRegionID in order to jump on
the region.
the beaty of that plugin is, that you check if there is a region or not,
if it is not, you cannot jump or jump on the floor.
but everyone tackles the problem in their own way. but sometimes combined
with other to continue, selfswitches in conditional branch can help you alot
as well on the same page as in if SS A is ON, do stuff else do something else.
but I can make a setup later unless
@Zakarijah provide you the solution that
works for you. (maybe with some animation), as for now, it's just pop out of
nothing instead that it grows, you dont even use a skill either.
once the plugin is installed, I started to paint the whole map with different regions,
the areas that are supposed to not be able to cross the border with region 1 (R1)
the stairs with region 2 (R2)
the base soil with region 3 (R3)
the soil with a higher level of R3 with region 4 (R4)
the soil with a higher level of R4 with region 5 (R5)
the soil with a higher level of R5 with region 6 (R6).
so stable if which region is above another or below
I installed a couple of Yanfly's plugins a long time ago that I imagined that one day I would use, and that day came.
are the plugins called
YEP_ReginoRestrictions and YEP_RegionEvents (both come and one more in their free plugin pack)
ideal for use with the
RED_SetRegionID
then enter the map properties and in the notes I wrote the following command
<Player Restrict Region: 1>
this means that within this map, region 1 cannot be traversed
this so that when using the RED_SetRegionID plugin, the game would know that this region was a barrier
then create switches for each ground level, and name them after the corresponding region (R3, R4, R5 and R6)
also create common events so that these activate or deactivate the mentioned switches. in each one of them, the switches that will not correspond to the region = OFF and the one that belonged to the region = ON
the next thing was to go to the region events plugin and match the events with the same region
in this way, every time the character touched the region x the event x would be activated
Ex: character in R5, call common event "3-->4(R5)", switch R5=ON and switches R3,R4,R6,R7=OFF
Once that was established, it was time to order the events to appear.
In this way, every time the character was at the same level as the event, the event would be shared the same as the player, and if the character was one level or more above the event, the event would behave below the player.
now comes the part that almost drove me crazy to program
create events on the points to be able to jump to the ice pillars. and in which I wrote the following command (script) of RED_SetRegionID
$gameMap.setTileId(7, 12, 1)
$gameMap.setTileId(8, 11, 1)
$gameMap.setTileId(6, 11, 1)
$gameMap.setTileId(7, 10, 1)
which you dictate after the character jumps will swap the four regions around the player for region 1 (which serves as a barrier). If that was the case, the player would not be able to get out of the pillar and would give the impression of having gone up a level above the ground (which is what we were looking for at first)
the complicated thing comes now when you have to use many conditional derivations.
first in what direction will it jump (if you press the button ...)
then check if there is an ice pillar activated in that direction (if there is a platform in that direction this does not happen)
after jumping to pillar 2 the barriers that were in pillar 1 are deactivated and others around pillar 2 are activated
and so with each platform.
but in the end they worked well and what was sought was achieved. I share a video so you can see how it ends
▶ YouTube video