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,984
Reaction score
1,446
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,810
Reaction score
8,222
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

brain broken as soon as i figure out whats wrong with my game im taking a long nap
Hey guys anyone is interested in playing my game? Just PM me and I'll give you a Steam key! Here's my latest video! ->
cst.PNG
What would you assume this thing was/is?
1623528827049.png
Ah yes. Just the reference I was looking for to use for my portrait. Thanks Google.

Forum statistics

Threads
112,182
Messages
1,066,398
Members
145,772
Latest member
Jedon01
Top