Jump to content

Can't change city guard level


Papawa92

Recommended Posts

The mod: http://www.nexusmods.com/skyrimspecialedition/mods/8452/?

I use xEdit for tweak all NPC_ levels, but all city guards (Windhelm, Solitude etc) stay with his min level 20.
Where i'm wrong ?

Script used:

{
  Change all NPC's levels to player's level. (work in progress)
  
  PC level mult: true
  Level mult: x1
  Min level: 0
  Min level: 0
}
unit userscript;

uses mteFunctions;

function Process(e: IInterface): integer;

begin
  if Signature(e) <> 'NPC_' then Exit;
  SetElementNativeValues(e, 'ACBS\Calc min level', 0);
  SetElementNativeValues(e, 'ACBS\Calc max level', 0);
  if GetElementEditValues(e,'ACBS\Template Flags\Use Stats') = '1' then exit;
  SetElementNativeValues(e, 'ACBS\Flags', GetElementNativeValues(e, 'ACBS\Flags') or 128);
  SetElementNativeValues(e, 'ACBS\Level Mult', 1000);
  SetElementNativeValues(e, 'ACBS\Flags', GetElementNativeValues(e, 'ACBS\Flags') or 16);
 end;
end.
Edited by Papawa92
Link to comment
Share on other sites

  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...