Background for Fallout 4
Member of the Package script
PackagefunctionGetTemplate()Native

Description

Wiki Description

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

Documentation Comment

Obtains the package that is the parent template of this one (if any)


Caveats


Examples

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

Auto-Generated Example

Package returnedValue = myPackage__toCallFunctionOn.GetTemplate()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.