GetTemplate - Package

Member of: Package Script

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

SyntaxEdit

Package Function GetTemplate() native

ParametersEdit

None

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit