Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JSON functions will use the save game state of the object , since it has to be actively spawned to convert to JSON. You cannot JSON convert UTC files themselveswhen using ObjecToJson (ie an actively spawned creature). To convert from a template to JSON use TemplateToJson. This means some of the fields on the base UTC file isn't are not available on the save game which is an instanceversion, and some have altered names.

Fields

Example is from the example ObjectToJson from a spawned NPC.

...