GetTemplate - Package
Revision as of 12:17, 20 August 2010 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Package Script Gets the package that this package is templated on, if any. == Syntax == <source lang="papyrus">…')
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