Hey, im new in rpgmaker and i need help with respawns

I want to make similar idk system? of respwans like in Black Souls (not dark souls) like for example you interact with campfire and it saves your position and after you die you respawn on last campfire with full health. I also wanted to implement to this campfire respawn option to teleport to other unlocked campfires. Do any one know how to make that?

Ps. im newbie in all this rpgmaker stuff and forums so, sorry if i had posted it in wrong category or something
First, you should take some time to learn the basics of the engine before starting on whatever plans you have for your first game. That will drastically speed up your work.
I wrote the "starting point" tutorial linked in my signature especially for people like you.

second, your respawn options depend on whether you want to include random encounters in your game or not. Evented encounters have a method to redirect game over by allowing losses.
Random encounters need scripts to redirect the regular game over.

Other than that difference, everything you want to do can be done by events, although sometimes it is easier handled by scripts - for example the event command "show choices" has only four options, so if your game has more than five campfires as teleportation targets that would become more difficult.
but there are scripts to combine multiple show choices for longer lists or the like.

Unfortunately without the basic understanding of how the engine works, giving you examples of how to handle this is a bit difficult, so I suggest you work through the tutorials first and ask again in two or three weeks.
I mean ive been using it for around week and i have learned about making map, making npc's, i have visible enemies on map that chase you if you are near them, ive made intro to this project (Basic first minutes of game like choosing name by player, choosing class. I know what switches and self switches does, conditional branches are on my knowlage (mostly i think) im learning more about variables nów but i'm almost understand them. I think i need this what ive write about in post a the beggining about those respawns to even start thinking about making my first game. Ofc i have ton of things to learn more but probably im near learning most of things to make most Basic and straight forwart game (witch i point it out again i have still ton of things to learn, dont assum i think that im gonna be big dev after week in program lol, im realist)

Sorry for bad english
The screenshot and terminology is from RPG Maker MZ, but it should be something similar in VXAce.

When teleporting, you can select a set of variables to determine the location, rather than clicking a specific spot on a map.
You select one Variable holding the Map ID, one for the X coordinate, and one for the Y coordinate.

1735608422463.png



To get these variables, you save the current hero position into these variables when you interact with your camp. You can do that in your "Control Variable" command.

Just in case it's more like in RM2003: there were separate commands (something like Memorize Place and Go To Memorized Place).

If you use the default battle system, you still have to find a script or something to override the default Game Over. If I recall it correctly, it's kind of restrictive.

PS:
You could also set up a Common Event to call, whenever you have to go back to a Campfire. Just set up one Variable that saves the number of the Campfire you want to go to.
Code:
◆If:variable Campfire nr. = 1
  ◆Comment:Teleport -> Campfire 1
  ◆
:Else
  ◆If:variable Campfire nr. = 2
    ◆Comment:Teleport -> Campfire 2
    ◆
  :Else
    ◆If:variable Campfire nr. = 3
      ◆Comment:Teleport -> Campfire 3
      ◆
    :Else
      ◆
    :End
    ◆
  :End
  ◆
:End

So, if you visit campfire 2, you set your campfire variable to "2". And whenever this common event is called, you will be sent there.
i have visible enemies on map that chase you if you are near them
Assuming you're enemies use the BattleProcessing event command, then you can set ContinueEvenWhenLoser to true.
Then as @Zia_ has stated, have the campfires set a variable to a unique ID per location, then on death call a common event that checks that variable via a ConditionalBranch event command which then calls the TransferPlayer event command to the current respawn campfire. Finally call the RecoverAll event command to heal up.
I also wanted to implement to this campfire respawn option to teleport to other unlocked campfires.
So this is a little more complicated for default VXAce as @Andar stated, you only have a ShowChoice event command with 4 options unless using scripts to up that limit.
Using default VXAce event comands:
- You could try linking multiple ShowChoice event commands together eg.Option1,2,3,more then just have the more lead to another ShowChoice.
- Alternatively you could try using a ShowText event command with the info of 1.Plains 2.Cave 3.etc, then use a InputNumber event command for the player to choose.
But my preference would be to use these scripts by HimeWorks/Tsukihime: Large Choices (allows for more than 4 choices in ShowChoice) and Choice Options (Allows you to hide/disable choices according to conditions, in this case it would be a true/false switch on whether or not the campfire has been unlocked yet)
Edit: and the script by Enelvon: Scrolling Choices (allows for more than 11 choices in ShowChoice without going off screen)
Thx guys i have figured out by my self and with your help how to make it work. I still need to find or modificate script of gameover to not get defult gameover screen and get sent to title screen.
Thank you people
ps. sorry for bad english

Original thread: https://forums.rpgmakerweb.com/threads/hey-im-new-in-rpgmaker-and-i-need-help-with-respawns.174310/