GetActorTemplateFlag
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Description
Returns the state of a Template Data flag in an actor base form.
Syntax
(flagSet:1/0) reference.GetActorTemplateFlag flagID:int actorBase:form
Template Data Flag IDs
1 Use Traits 2 Use Stats 4 Use Factions 8 Use Actor Effect List 16 Use AI Data 32 Use AI Packages 64 Use Model/Animation 128 Use Base Data 256 Use Inventory 512 Use Script
Example
set bFlagSet to rActorRef.GetActorTemplateFlag 4
set bFlagSet to GetActorTemplateFlag 4 CarlitosWayne