Save Game - what User Index is for?

This documentation page says:

UserIndex For some platforms, master user index to identify the user doing the saving.

So it’s probably like how on Xbox 360 each user has a separate account and separate save files. Sometimes only the “primary” user could save (and all actions in the game applied to them).

I have no idea how you’d determine which user index to use (it seems you require a KeyEvent, but neither InputAction events nor raw input events provide them). Maybe you need to get it from an UI-specific system that I haven’t learned about yet.

I mean, is it possible to store data of different levels/players in one file, but using different User Index values?

I’m not certain, but I’d assume each user index saves to a different location on disk. (Imagine one user saved to a memory card and another to the cloud.)

1 Like