Added Direction arrow to spawn for orienting the player after spawn and made it hide if DEVMODE is false

This commit is contained in:
2024-09-08 19:41:24 -05:00
parent cce9966214
commit 39abcffb48
6 changed files with 50 additions and 5 deletions

View File

@ -8,6 +8,7 @@ var is_paused = false
var current_map
var mapLoader
var SpawnPoint:Vector3
var SpawnRotation:Vector3
var Player_Last_Location = Vector3(0,0,0)
var HasVape = false
@ -78,6 +79,7 @@ func PrintSettings():
func SetCurrentMap(selected_map):
current_map = selected_map
func SetSpawnPoint(pos:Vector3):
func SetSpawnPoint(pos:Vector3, rot:Vector3) -> void:
SpawnPoint = pos
print("Spawn Point set to ", pos)
SpawnRotation = rot
print("Spawn Point set to ", pos, rot)