SetActorTemplateFlag
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Description
Sets the state of a Template Data flag in an actor base form.
Syntax
reference.SetActorTemplateFlag flagID:int newState:0/1 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
rActorRef.SetActorTemplateFlag 4 0
SetActorTemplateFlag 4 0 CarlitosWayne