Player Prefs Not Functional Yet?

General discussion of the House Party CSC, or get help making your own story.
Forum rules
Please follow all Eek! Forum rules.
Post Reply
MajorDong
Posts: 45
Joined: Mon Jan 24, 2022 10:41 am

Player Prefs Not Functional Yet?

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.
peter980
Posts: 1601
Joined: Thu Feb 15, 2018 1:50 am

Re: Player Prefs Not Functional Yet?

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.
MajorDong
Posts: 45
Joined: Mon Jan 24, 2022 10:41 am

Re: Player Prefs Not Functional Yet?

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:
peter980
Posts: 1601
Joined: Thu Feb 15, 2018 1:50 am

Re: Player Prefs Not Functional Yet?

Not sure. I think I asked Don once to get this info.
eekdon
Posts: 1546
Joined: Tue Feb 13, 2018 4:29 pm

Re: Player Prefs Not Functional Yet?

Come on muh doods. The OS implementation itself IS documentation! /s
Image
Post Reply