Hey, So I was looking into custom saving with Ork. I noticed there's a tut for saving custom stuff.
I'm not sure I quite understand what can be saved and what can't.

Can I attach a script to my player prefab and have it save?
Example

it has
public float testfloat;
and have it save the variable value for when the game is loaded later?

Can I attach the same script to an enemy and have it be remembered by Ork? Or is it only the player it would work for?

Or am I getting the whole custom save data wrong?

Thanks
  • You're correct, that's how it works - although there are 2 systems, the component based (for saving data per combatant) and the general custom save data (for saving global stuff, e.g. 3rd party weather/time systems).

    Data on enemies is only saved in case the enemy itself is set up to be remembered by the combatant spawner (and also set up to be saved in save games - see the save game menu settings for this).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thanks for the confirmation. I will definitely check that out.

Sign In or Register to comment.