Jump to content
GreenSock

creepco

Save other variables/properties in XML on export?

Moderator Tag

Recommended Posts

Hello,

 

I was wondering if it's possible to save other variables/properties of objects when exporting XML using TransformManager?

I'm building a game authoring engine using it and it's working great, but I'm hitting situations where I need to save extra information about the managed objects.

For instance, if I wanted to save a point value to a game object, or a target name for a teleporter game object? ie: 

pointVal = "100"

or 

teleportTargetID = "B100"

 

Thanks,

Brent

Link to comment
Share on other sites

I wish I had a super-easy answer for you, but unfortunately that's not really a feature TransformManager supports. However, you're welcome to take the XML that TransformManager spits back to you, and alter it in whatever way you want, adding your own custom attributes, etc. 

Link to comment
Share on other sites

Thank you for your quick response!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×