Hello!
So I am quite certain I've seen or read this in a tutorial, but I can't seem to find it at the moment.
Basically I am having an issue with items my character picks up re-appearing when I load the game again.
This sort of makes sense I guess as the in world object that represents the item will be "removed" (via an Object: Add or Remove action) but when the level is reloaded the game doesn't know that this item was removed through gameplay at some point in the past.
What's the best way to approach this? I thought maybe adding a Constant ID to the in world object would fix it (i.e. the object add remove would persist the state of that object if it had a constant id), but it doesn't seem to make a difference.
Thanks!
Comments
Hope one day this will be implemented.
I am pretty sure this is to do with me having missed something rather than a limitation with AC.
Example you have an idle 2d animation of the Moon that shines, you call an animation Moon moves ( which playes for about 15 sec), save your game, in the same scene load it, you will see 2 moons.
But if you change your scene or quit the game than come back to play it, you'll see one idle Moon as it should be.
AC sort of doesn't reset the scene when the game is saved and loaded in the same scene, but sort of adds up whatever you had to whatever is still on the screen.
@oxyscythe: If you want to save an object's presence in the world (or lack thereof), attach the RememberTransform component and check Save scene presence?
My OnStart has a custom->run in parallel and this does everything i need it too when starting the scene, checking for items in scene, positioning characters etc