saving spawned actors best practices
peaston
Member, PRO Posts: 25
Hi All,
I was wonder if their was a "best practice" method of saving spawned characters so I can leave and come back to a scene and have spawned actors still be there.
Any pointer/examples would be greatly appreciated.
Pete
I was wonder if their was a "best practice" method of saving spawned characters so I can leave and come back to a scene and have spawned actors still be there.
Any pointer/examples would be greatly appreciated.
Pete
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In your sticker actor, have a behavior that saves its x & y position and sticker "type" to a table.
Have a "respawn" actor that loops through the table rows and spawns each sticker type at its x & y position
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User