Zone with multiply respawns.

MrTitan

Elder
Customer
How to create a zone with multiply repsawns. For example if I make Cemetery pvp zone, how can I make 3 respawn points, so when the player dies and press go to village to teleport him to one of the 3 spawn points?
 
make zones and inside teleport points
all of that in data/mapregion

for example:
XML:
<restart_area>
    <polygon>
      <coords loc="11712 181566 -3596 -3396"/>
      <coords loc="14407 181566 -3596 -3396"/>
      <coords loc="14407 182676 -3596 -3396"/>
      <coords loc="11712 182676 -3596 -3396"/>
    </polygon>
    <restart race="human" loc="[monster_race]"/>
    <restart race="darkelf" loc="[monster_race]"/>
    <restart race="orc" loc="[monster_race]"/>
    <restart race="dwarf" loc="[monster_race]"/>
    <restart race="elf" loc="[monster_race]"/>
  </restart_area>
 
How to create a zone with multiply repsawns. For example if I make Cemetery pvp zone, how can I make 3 respawn points, so when the player dies and press go to village to teleport him to one of the 3 spawn points?
you managed to do it???
 
I'm trying to make players respawn inside a custom PvP zone after they die and click "To Village".

I created this zone: 1782141398195.webp
My goal is that when a player dies inside this zone and clicks "To Village", they respawn somewhere inside the same PvP zone instead of being sent back to the nearest town.

I tried adding the following configuration to restart_points.xml 1782141446779.webp

However, players are still respawning in Floran Village.

Am I missing something? Is there a specific way to bind a custom zone to restart points, or do I need a different configuration/script for this behavior?

Any help would be appreciated.

Thank you!
 
Back
Top