4 weeks ago
I've been trying to find different ways for the past week to teleport my player to a spawn point gizmo whenever it presses a button on my custom UI screen.
I have 2 scripts called GameManage2 and MainMenuUI. The MainMenuUI is supposed to send a broadcast event to my GameManage2 which is then supposed to send my player to the spawnPointGizmo I had set up. I made sure that the script settings is set up so that it's specifically that spawnPointGizmo and it gives this error: "[Respawn] parameter 0 expected a PlayerID but got a None". Code snippets for both the MainMenuUI and GameManage2 script are below...
===================Main Menu UI=================================
3 weeks ago - last edited 3 weeks ago
Hello Kyle, I hope you are doing well,
I have only looked over your code a little bit but it appears you problem may lie with this line here: