GetPackageTargetData

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(targetData:StringMap) GetPackageTargetData package:ref

Returns a stringmap containing info about a package target. The returned stringmap contains the following keys:

  • "Type" - string ("Reference", "Object", "ObjectType")
  • "Value" - integer
  • "Object" - form (for types Reference and Object) OR
  • "ObjectType" - string as in editor, e.g. "Books", "Spells: School Illusion" (for ObjectType).