Parent Nodes - TheCallunxz/Left2Mine GitHub Wiki

Parent Nodes

Parent nodes are a part of the node system. They are connected to child nodes and activate child nodes when they are activated. Read more about the node system here: Node System.

Player Spawn

The player spawn parent node is activated when the players are first spawned in the game. It serves as the beginning spawn point of the map. Child nodes connected to the player spawn will activate when the game first starts. The players are teleported to this position when the game starts or if they die and restart without reaching a saferoom checkpoint first.

Survival Spawn

The survival spawn parent node is activated when the players first spawn into the survival game mode. It is the point the players teleport to when a survival game is started. Child nodes connected to the survival spawn will activate when the players are first teleported to the survival point.

Saferoom Node

The saferoom node is different from the other parent nodes because it is not a starting spawn point. However, it is a respawn point for when the players die and have reached the saferoom checkpoint. The saferoom node is a bit trickier to setup as it requires two 'saferoom doors' to be placed along with the saferoom node. The entrance door is always placed first and must be placed on one side of the saferoom node with the exit door on the other side of the saferoom node. As you can see in the image the two doors are opposite each other and the yellow area is where the players are detected in the saferoom. The saferoom area should be between the two doors so that the players are detected as being inside the saferoom. Try not to have any area of the previous part of the map inside the area which the saferoom is checked. So that players are not accidentally detected as being inside the saferoom. The saferoom should act as a checkpoint which connects your two areas of the map. Players will not be detected in the saferoom if they are more than 5 blocks away from the saferoom node and are not between the two doors.

The blocks beneath the doors must be these iron-looking blocks otherwise the saferoom will break. These blocks help hold data to lock and unlock saferoom doors.