Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: marcos on November 27, 2013, 02:45:16 AM

Title: ArrayMaker + Easy Save 2 Loading from Resources[SOLVED]
Post by: marcos on November 27, 2013, 02:45:16 AM
Hey,

Using Easy Save 2 and the ArrayMaker actions, I've set up a system where I have an FSM that collects the objects that make up a level, puts them in arrays that record their tag, position and rotation, then saves out a .txt file with this information.

I've also managed to load this .txt file into arrays and repopulate an empty level with the saved arrangement of objects.

Now, what I'm stuck on is how to do the same sort of thing but instead of loading from an absolute path, loading from the Resources folder. I notice that the Easy Save 2 actions for loading have a checkbox for "Load From Resources" whereas the Array List Easy Load does not.

Is there a way to go about doing this? Or would it be possible to get this checkbox added to the Array List Easy Load action?

Many thanks in advance,
Mark
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: jeanfabre on November 28, 2013, 06:30:37 AM
Hi,

 What version of easy save is it? I don't have this here.

 bye,

 Jean
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: marcos on November 28, 2013, 06:32:57 AM
Hey,

Easy Save 2 v2.26.

Cheers,
Mark
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: jeanfabre on November 28, 2013, 07:03:47 AM
Hi,

 Ok, I have contacted the author, I should be able to provide an update soon.

Bye,

 Jean
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: marcos on November 28, 2013, 07:14:38 AM
You're a legend! Thanks, Jean.

Mark
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: jeanfabre on November 29, 2013, 06:23:00 AM
Hi,

 ok, it's added. Can you redownload the package and import, now HashtableEasyLoad and ArrayListEasyLoad Will have the "loadFromResources" option.

 Bye,

Jean
Title: Re: ArrayMaker + Easy Save 2 Loading from Resources
Post by: marcos on November 29, 2013, 07:16:32 AM
Thank you!