Page 2 of 2

Re: ORK Integration (Spawning and the Quest Journal)

Posted: Sun Aug 23, 2020 6:40 pm
by hardercore
Ok thanks :)

Re: ORK Integration (Spawning and the Quest Journal)

Posted: Sun Aug 23, 2020 8:23 pm
by Tony Li
Can you make your quest giver NPC an ORK combatant? It looks like ORK only carries over data on combatants now.

If that's not possible, then you'll need to hook up scene changes to these methods:

Before changing scenes:

Code: Select all

PixelCrushers.SaveSystem.BeforeSceneChange();
PixelCrushers.SaveSystem.RecordSavedGameData();
After changing scenes:

Code: Select all

PixelCrushers.SaveSystem.ApplySavedGameData();
If you don't want to call those script methods, you can use the equivalent methods in the Save System Methods component.

Alternatively, you can use Quest Machine to change scenes, using SaveSystem.LoadScene(), Save System Methods > Load Scene, or a Scene Portal component.

Re: ORK Integration (Spawning and the Quest Journal)

Posted: Mon Aug 24, 2020 1:23 am
by hardercore
Thanks, got it working. For anyone who encounters this in the future: I Setup a global ork event to call those methods anytime a scene fades in/out. Oddly enough, Ork couldn't find those static methods or the wrapper ones when I tried so I made my own wrapper for them and that worked.

Re: ORK Integration (Spawning and the Quest Journal)

Posted: Mon Aug 24, 2020 8:40 am
by Tony Li
Thanks for sharing the tip!