Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
Like the “object saver” in LBP3 - sorry to even compare that with Dreams :p
I’ve got a Dreams containing several Scenes that are linked by two-way Dorrways so the player can go back and forth between scenes. I’ve set up a Variable to keep track of “points” collected throughout the Dream and that is converted to a score at the end. All good...
My “points” object is set up using a counter so the player touches it once, gets the added score, and the object goes invisible and can’t be activated again while the player is in that Scene, but...
When the player moves to another Scene and then comes back again, the “points” object has reset to its original state. I need to save the state of that object somehow, and I haven’t been able to make a Persistent Variable work for this - because I have that same object in multiple Scenes, when the player touches one, the others are also affected.
So to use the Variable, I’d have to go and make every single “points” object have a uniquely named Variable. That seems insane, there must be a better way, and I feel like there’s probably something obvious I’ve missed but I’m stuck :)
I did try using a Variable without making it Persistent, but that resets when the player moves between Scenes.