GetTemplate - Package

From Creation Kit
Revision as of 2010-08-20T13:17:21 by Jlundin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Member of: Package Script

Gets the package that this package is templated on, if any.

Contents

Syntax

Package Function GetTemplate() native

Parameters

None

Return Value

The Package that this one is templated on. If this package isn't templated on another package, it will return None.

Examples

if SuperPackage.GetTemplate() == SleepPackage
  Trace("Super package is templated on the sleep package!")
endIf

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
coming
coming
coming
coming