I need to restock players based on the class they chose on spawn. To do that I need some reference to what was chosen. Any ideas?
I can try to help you, but can you tell me what device you’re using? The Class Selection UI?
yes thats what im using
Same problem here, there is no documentation in player class
Alright! I ran into the same issue and there was no easy solution. HOWEVER, I found an option that ended up working for me.
I set players up to choose their class on spawn, and then put their spawn location in a noncombat zone. To get into the game proper, players walk through a teleporter from the noncombat zone. It’s actually eight teleporters stacked atop one another, one for each of the four classes and two teams. I have the teleporters send an event when they teleport the player, and use the different teleporters to see which class the player was.
Hope this helps! Let me know if you want more insight as to how I resolved this problem.