Difference between revisions of "GetTemplate - ActorBase"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added required f4se version)
 
Line 18: Line 18:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
ActorBase template = NPC.GetActorBase().GetTemplete()
ActorBase template = NPC.GetActorBase().GetTemplate()
</source>
</source>



Latest revision as of 03:18, 4 June 2023

F4SE Member of: ActorBase Script
Requires F4SE version 0.2.0 or higher.

Gets the template of the ActorBase.

Syntax[edit | edit source]

ActorBase Function GetTemplate(bool bTopMost = true) Native

Parameters[edit | edit source]

  • bTopMost: Will return the highest parent.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

ActorBase template = NPC.GetActorBase().GetTemplate()

Notes[edit | edit source]

None.

See Also[edit | edit source]