Trying to figure out how to write a simple script for TES5Edit for NPCs that
? sets the "simple actor" flag
? removes the voice type (or sets it to none)
Anyone know how?
Trying to figure out how to write a simple script for TES5Edit for NPCs that
? sets the "simple actor" flag
? removes the voice type (or sets it to none)
Anyone know how?
Got the second part down:
{ Remove NPC Voice Type.}unit UserScript;function Process(e: IInterface): integer;begin RemoveElement(e, 'VTCK');end;end.
Now I just need to figure out how to set the ACBS flags. Anyone?
SetElementNativeValues(e, 'ACBS\Flags', GetElementNativeValues(e, 'ACBS\Flags') or $100000));
Thanks! Figured it out.
{ Remove NPC Voice Type.}unit UserScript;function Process(e: IInterface): integer;begin RemoveElement(e, 'VTCK'); SetElementNativeValues(e, 'ACBS\Flags', GetElementNativeValues(e, 'ACBS\Flags') or 1048576);end;end.
Aaaaand that didn't do what I'd hoped. LOL.
I'm trying to make it so population mods don't use facial animations or voices, but setting the voice type to "none" doesn't seem to do that. They still respond with an audio file. Any thoughts?