Jump to content

Make ASIS distribute perk to specific group, not everybody in NPCInclusions


VictorDragonslayer

Recommended Posts

I'm making small mod.

 

Goal: make guards stronger.

Way: create and distribute special perk to guards.

 

Conditions for perk:

GetInFaction IsGuardFaction==1 //should work for guards only

and

GetInFaction CompanionsFaction==0 //because Bethesda added Companoins to GuardFaction

and

GetInFaction CWSoldierNoGuardDialogueFaction==0 //avoid turning Civil War soldiers to unkillable deathmachines

 

Distributing: added Guard at the end of NPCInclusions (full AutomaticPerks.ini: http://pastebin.com/1x7q7UzQ) and run ASIS patcher.

 

Problem: everybody who fits masks in NPCInclusions got that perk too and it works for them.

Possible cause: conditions are wrong (doubtfully - I checked GuardFaction in uesp and excluded inappropriate NPCs) or ignored (but why?).

 

I tried to google guide for ASIS, but found only basic troubleshooting information fit for mod users rather than mod authors. I hope you can help me.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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