Custom ES3Type + Playmaker save/load

Discussion and help for Easy Save 3
Post Reply
Abelius
Posts: 7
Joined: Sat Apr 14, 2018 12:26 am

Custom ES3Type + Playmaker save/load

Post by Abelius »

Hi there,

I've made a search for this, but I wasn't lucky enough.

Anyway, I have a custom script with lots of public properties, attached to a NPC prefab. It's intended to be the central repository of each instanced character in the game, so I need to save those properties in some way.

Also, I'm using Playmaker and I don't really intend to delve into proper coding to do this.

The first thing I've done is to create a custom ES3Type with the help of the wizard, and now I see it under /EasySave3/Types.

However, when I go to my "SaveLoad" FSM and try to use the Save action and select the NPCStats ES3Type... I don't see on the list of supported types:

Image

Do I need to modify the action to include the custom type in that dropdown list? What am I doing wrong? Is this even possible?

Thank you.

User avatar
Joel
Moodkie Staff
Posts: 2800
Joined: Wed Nov 07, 2012 10:32 pm

Re: Custom ES3Type + Playmaker save/load

Post by Joel »

Hi there,

To choose a custom type in Playmaker you need to select 'Object' in the list.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Abelius
Posts: 7
Joined: Sat Apr 14, 2018 12:26 am

Re: Custom ES3Type + Playmaker save/load

Post by Abelius »

Oh lol, so easy. :lol:

Thank you!

Post Reply