I would like to have a beginner guide who can lead players through the entire storyline, starting from home, going to the laboratory, and then to the second building. The guide will take the players to many places and introduce them one by one, triggering some events or missions. The player must follow the guide and cannot be more than 7 squares away from the guide. During the gameplay, other players cannot see the "exclusive NPC" of the player who is experiencing the storyline. Other players will not be unable to receive quests because the player 1 is interacting with this NPC.
In a sense, each player has their own exclusive guide, but at the same time, I do not want the server to have too many NPCs because of this condition. Two NPCs can be set up at the starting point and the endpoint, and the "guide NPC" will show or disappear when approaching the starting point/endpoint, and let them detect whether the mission is completed or not. If it is incomplete/complete, the NPC will show/disappear.
Additionally, this script should be compatible with Betonquest because I mainly use Betonquest to complete my storyline.
It's OK