Jump to content

Help With Scripting


smuppet

Recommended Posts

I want to make script to remove the "Protected" flag from followers such as Lydia who seem to keep it even after it is changed in the CK.

 

if Lydia.IsInFaction(CurrentFollowerFaction)
    Lydia.SetProtected(false)
endif

 

I was thinking of going for this kind of thing but I'm not totally sure how to implement it. I'm a new to scripting and I could really use some pointers here. Any help would be appreciated.

Link to comment
Share on other sites

actually if you check Lydia's actor edit settings (find her in the actor list, then right click, then hit edit), i believe there's something about being protected in the upper left region of it, it's possible that your script isn't working because it's conflicting with a preexisting set of orders.

 

if you already did that then sorry for stating what might have seemed an obvious thing to try :sweat:

Link to comment
Share on other sites

actually if you check Lydia's actor edit settings (find her in the actor list, then right click, then hit edit), i believe there's something about being protected in the upper left region of it, it's possible that your script isn't working because it's conflicting with a preexisting set of orders.

 

if you already did that then sorry for stating what might have seemed an obvious thing to try :sweat:

 

 

I did try that already Im afraid. Once you recruit her she becomes protected again. So I think if you add a script that fires when she joins you that unprotects her that should hopefully make her die more easily.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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