Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: skuttleman on March 02, 2012, 03:09:52 PM

Title: What does the SaveState attribute save?
Post by: skuttleman on March 02, 2012, 03:09:52 PM
I'm pretty new to Wintermute (defected from AGS), so forgive me if this question is very simple, but does anyone know what entity attributes get saved when leaving/returning to a scene? I get that it saves the sprite, but it doesn't seem to save anything else (that I've checked for so far). Is there a way around this other than creating library-of-congress sized arrays to save attributes (like entity.Interactive)?
Title: Re: What does the SaveState attribute save?
Post by: metamorphium on March 02, 2012, 05:51:40 PM
Hi skuttleman and welcome!

You probably want to check in the SceneEditor on the Properties tab

"Remember nodes states"
"Including sprites"

Did it help?

Title: Re: What does the SaveState attribute save?
Post by: skuttleman on March 02, 2012, 06:13:18 PM
Yeah. I got that far...

What I was wondering is what else does "SaveState" save? I saw in the version history that it is supposed to save active/inactive. I know from playing around that it saves the sprite. But it doesn't seem to save, for example, the Caption if I change it at run-time. Is it too much trouble to ask for a list of saved attributes so I know what I need to make global variables for?

Thanks!

P.S. I am really enjoying using Wintermute. Thank you for a great tool!
Title: Re: What does the SaveState attribute save?
Post by: Mnemonic on March 11, 2012, 10:17:57 AM
It stores activity, alpha color, caption and (optionally) the assigned sprite.