Page 1 of 1

Player Prefs Not Functional Yet?

Posted: Thu Mar 30, 2023 8:08 am
by MajorDong
When I add "Player Prefs" as a condition for an event, I'm only able to select one variable to test: ShowTutorials. The CSC doesn't allow me to input a custom variable. My understanding is that this is contrary to the way this system is intended to ultimately work; players should be able to select/nominate their own custom variables to test.

Incidentally, the "Set Player Pref" event allows me to use custom variables; it's only the conditions side of the system that doesn't seem to allow custom variables. Seems kind of pointless if the "transmitter" side of the system can be used, but the "reciever" side of it can't.

Re: Player Prefs Not Functional Yet?

Posted: Fri Mar 31, 2023 2:29 pm
by peter980
You would need to create a player value first in the Player Values section with the prefix "CSCPref:"

Only then, it will be visible for criteria checks.

Re: Player Prefs Not Functional Yet?

Posted: Sat Apr 01, 2023 12:12 am
by MajorDong
peter980 wrote: Fri Mar 31, 2023 2:29 pm You would need to create a player value first in the Player Values section with the prefix "CSCPref:"

Only then, it will be visible for criteria checks.
Ah! Awesome! Works like a charm! Thank you! :D

Is that documented anywhere? Because the odds of me figuring that out all by myself were beyond nil. :roll:

Re: Player Prefs Not Functional Yet?

Posted: Sat Apr 01, 2023 3:37 am
by peter980
Not sure. I think I asked Don once to get this info.

Re: Player Prefs Not Functional Yet?

Posted: Fri Apr 14, 2023 9:54 am
by eekdon
Come on muh doods. The OS implementation itself IS documentation! /s