alright, so in my rpg, i want a hero to be spawned after death at the recent most visited town.
i'm sure there's a way i could do this with a variable, when i enter a region it sets the last entered town as a variable. so that when a hero dies they respawn at the last town entered.
but how would i go about doing that exactly?
and i'm worried that if i set something it will set it for every player. i want it to be player specific.
i'm sure there's a way i could do this with a variable, when i enter a region it sets the last entered town as a variable. so that when a hero dies they respawn at the last town entered.
but how would i go about doing that exactly?
and i'm worried that if i set something it will set it for every player. i want it to be player specific.