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.
Syntax[edit | edit source]
Package Function GetTemplate() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
The Package that this one is templated on. If this package isn't templated on another package, it will return None.
Examples[edit | edit source]
if SuperPackage.GetTemplate() == SleepPackage
Trace("Super package is templated on the sleep package!")
endIf