- Joined
- Apr 8, 2018
- Messages
- 3
- Reaction score
- 1
- First Language
- French
- Primarily Uses
- RMXP
(hi! this is my first post and also the first time ever i join a forum, so sorry in advance if there are some rules/manners that i unintentionally disrespect;; also sorry for my english!! )
this is my first rpg maker project and i use rpg maker XP, and i am not skilled in scripts.
ive spent hours trying to search how to lock a panorama/parallax so i can use it as a background layer on a map. ive found that i had to make the panorama have the same speed as tiles, and that i had to change something in Spriteset_Map (line 120).
however, i'd like this to work only in certain maps, not all of them. i know that theres a "script" command in the event commands, but i dont know how it works.
ive tried many things, for example this:
but im almost certain its not correct, since i keep getting error messages.
can anyone help me? i do not know how to word this script command properly in order to make it work.
this is my first rpg maker project and i use rpg maker XP, and i am not skilled in scripts.
ive spent hours trying to search how to lock a panorama/parallax so i can use it as a background layer on a map. ive found that i had to make the panorama have the same speed as tiles, and that i had to change something in Spriteset_Map (line 120).
to this:# Update panorama plane
@panorama.ox = $game_map.display_x / 8
@panorama.oy = $game_map.display_y / 8
when i changed the numbers in the script editor and tested the game, it totally worked!# Update panorama plane
@panorama.ox = $game_map.display_x / 4
@panorama.oy = $game_map.display_y / 4
however, i'd like this to work only in certain maps, not all of them. i know that theres a "script" command in the event commands, but i dont know how it works.
ive tried many things, for example this:
but im almost certain its not correct, since i keep getting error messages.
can anyone help me? i do not know how to word this script command properly in order to make it work.

