Alador

Captain Cute
Veteran
Joined
Apr 16, 2020
Messages
205
Reaction score
237
First Language
English
Primarily Uses
RMMV
Hiya fellow game devs...

ezgif-1-bad7f5e3c966.gif


giphy.gif

Conditions: Switch 001
Trigger: Parallel
-----------------------
◆If:Button
is pressed down
◆Get Location Info:blockade, Terrain Tag, ({PlayerX},{PlayerY})
◆Plugin Command:CopyTiles 1 1 'layout' $gameVariables.value(6)+2 1 $gameVariables.value(6)+18 11
◆If:Script:$gameVariables.value(2)==16
◆Control Variables:#0005 mapid = 1
◆Transfer Player:{mapid} ({PlayerX},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps += 1

:Else
◆Control Variables:#0005 mapid = 1
◆Control Variables:#0004 test = $gameVariables.value(2)+1
◆Transfer Player:{mapid} ({test},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps += 1

:End
◆If:blockade = 3
◆Control Variables:#0005 mapid = 1
◆Control Variables:#0004 test = $gameVariables.value(2)-1
◆Transfer Player:{mapid} ({test},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps -= 1

:End

:Else
◆If:Button
is pressed down
◆Get Location Info:blockade, Terrain Tag, ({PlayerX},{PlayerY})
◆Plugin Command:CopyTiles 1 1 'layout' $gameVariables.value(6)+2 1 $gameVariables.value(6)+18 11
◆If:Script:$gameVariables.value(2)==1
◆Control Variables:#0005 mapid = 1
◆Transfer Player:{mapid} ({PlayerX},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps -= 1

:Else
◆Control Variables:#0005 mapid = 1
◆Control Variables:#0004 test = $gameVariables.value(2)-1
◆Transfer Player:{mapid} ({test},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps -= 1

:End
◆If:blockade = 3
◆Control Variables:#0005 mapid = 1
◆Control Variables:#0004 test = $gameVariables.value(2)+1
◆Transfer Player:{mapid} ({test},{PlayerY}) (Fade: None)
◆Control Variables:#0006 2dsteps += 1

:End

:End

:End
◆Script:mv3d.needClearMap=true;


 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,986
Reaction score
1,448
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi there!
I don't know how to solve it, but you should tell on the post that you are using plugins in your event, and put the link for people to be able to help.

◆Plugin Command:CopyTiles 1 1 'layout' $gameVariables.value(6)+2 1 $gameVariables.value(6)+18 11
◆Script:mv3d.needClearMap=true;
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,820
Reaction score
8,229
First Language
German
Primarily Uses
RMMV
additionally, please give screenshots of your event pages.
there is a lot of info missing from the texted code, like which buttons are supposed to be pressed, how the sublevels go (usually visible by the indentions of the conditional branch and similar commands) and so on.

and which map are the events on? you have several transfer player, and that command works different depending on a transfer inside a map and to a different map
 

Alador

Captain Cute
Veteran
Joined
Apr 16, 2020
Messages
205
Reaction score
237
First Language
English
Primarily Uses
RMMV
The transfer is to the same map and the buttons pressed are left + right
 

Latest Threads

Latest Profile Posts

Sometimes you Just need to realise someone is beyond help... Still hard to walk away tho :(
100 Horror/Tragedy Sample Maps, Penguin Mech Sprite, & TileD Templates | RPG Maker News #70

Continuing working on abs. So far I have done the workout twice. I am excited to see the results after a couple of weeks. How is everyone doing? :)
MZ: oh boy imma work today
Me, excited: Really?
MZ, doesn't do what I tell It too
Me: I Thought-
MZ: I am Working!
Oof, this "side project" of mine is starting to get as complex as a VS plugin, at least as far as plugin parameters are concerned. I think I now understand why a plugin like this doesn't already exist(that I know of). Learning a lot while trying to make it work though!

Forum statistics

Threads
112,216
Messages
1,066,612
Members
145,822
Latest member
ghanovdn
Top