Since I can't afford to buy a skill tree plugin, I want to make a reusable item that bring the player to an area where the player can modify their stats (which I can figure out myself) but also have an event that takes them back to the area they were in before they entered. Does anyone know how to do this?
Reusable item that takes you to an area that has an event that brings you back after
RPG Maker MZ Supportyou use three variables toi store the current position, then transfer to the skill map.
on the map you probably want to disable followers (if any) and change the actor sprite to a cursor sprite, then walk arounf the skill map activating events pretending to be skills before going to an exit event that transfers back to the position stored in the three variables
on the map you probably want to disable followers (if any) and change the actor sprite to a cursor sprite, then walk arounf the skill map activating events pretending to be skills before going to an exit event that transfers back to the position stored in the three variables
Does the position store the area too?
If by "area" you mean "map", yes. Like Andar said, you'd use 3 variables:
forums.rpgmakerweb.com
- Store ID: Control Variables -> Game Data -> Other -> Map ID.
- Store X: Control Variables -> Game Data -> Character -> Map X.
- Store Y: Control Variables -> Game Data -> Character -> Map Y.
- (Transfer to your "menu map" and do the things.)
- Return: Transfer Player -> Designation with variables (ID, X, Y).
Tutorial-Blog - There and Back Again: Making Camp with an Item
by: @hiddenone Read the tutorial here!
forums.rpgmakerweb.com
Original thread: https://forums.rpgmakerweb.com/threads/reusable-item-that-takes-you-to-an-area-that-has-an-event-that-brings-you-back-after.175491/