ORK Integration (Spawning and the Quest Journal)
-
- Posts: 9
- Joined: Sun Aug 23, 2020 12:21 am
Re: ORK Integration (Spawning and the Quest Journal)
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:
After changing scenes:
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.
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();
Code: Select all
PixelCrushers.SaveSystem.ApplySavedGameData();
Alternatively, you can use Quest Machine to change scenes, using SaveSystem.LoadScene(), Save System Methods > Load Scene, or a Scene Portal component.
-
- Posts: 9
- Joined: Sun Aug 23, 2020 12:21 am
Re: ORK Integration (Spawning and the Quest Journal)
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)
Thanks for sharing the tip!