Difference between revisions of "GetTemplate - ActorBase"
Jump to navigation
Jump to search
imported>Qazaaq (Added F4SE member) |
EgoBallistic (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''F4SE Member of:''' [[ActorBase Script]] | '''F4SE Member of:''' [[ActorBase Script]] | ||
{{Template:Papyrus:RequiredF4SE|version=0.2.0}} | |||
Gets the template of the ActorBase. | Gets the template of the ActorBase. | ||
Line 17: | Line 18: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
ActorBase template = NPC.GetActorBase(). | 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.