Having issue with things resetting after saving and exiting.

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
So I made a boulder that you can move from one side but not another. But after saving it and exiting the game the boulder moved back and now I'm stuck. I could just remove the save option temporary. But that would just make the dungeon harder. Any advice?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Events locations do not save when you save your game, so you will need a script of some sorts so event positions are saved if you want the player to be able to save and not get stuck. Either that or you will have to disable saving like you suggested.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The event locations are saved when you save your game, but the moment you leave the map, they are reset when you come back.

I'm guessing you moved the boulder, went off and did some stuff on another map, and came back to the current map and the boulder is back in its original location - and at some point in all that process you saved and loaded a game. The saving/loading isn't what's caused the problem - it's the leaving the map and returning.
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
Ok the script works. This would cause big headaches later on in the game when you have to move things from one room to another,etc. Nope. Didn't leave the map. Was just playtesting it.logging in and out. Got stuck. But your script seems to work now. But had to load a new game to test it.Wont work on the games before I added the script.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
The other way is to do it with 2 events - have one positioned where the item starts, and one positioned where the item finishes up. When the item is moved, turn on a switch. For the start event, have a second blank page conditioned by the switch. For the first event, just condition the first page by the switch. The choice is whether to use extra events and switches each time, or whether to use a script. With the script you can also save it at in-between positions.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top