I want my playerstate to default to Spectator - from here I’m being a little crazy with the coding to on postlogin, this variable is checked if you have a team other then spectator it will run a ‘respawn’ routine for that - other wise bring up a pick team menu to then cast this value to your playerstate.
There shouldn’t be anything wrong with what you posted, unless I’m overlooking something. Are you trying to declare this inside of your class for your playerstate? UENUMs need to be declared on their own as USTRUCTS are created. You would declare it as you would with a struct and then make a variable of that enum’s type in your playerstate class. Doing that should end up with the results you’re looking for.