Jump to content

Settlement variables on actor or npc, how to set in papyrus ?


silhouett

Recommended Posts

I am hoping someone has an example on how to do this. I want to from within a Papyrus script set a few settlement values on an actor.

 

From the console

you would use

 

setpv bcommandable 1
setpv ballowmove 1
setpv ballowcaravan 1

 

after clicking on the actor or using Prid <RefID>

 

However I want to set them from a script. I believe I would use MyReference.SetPV MyIntProperty 1 but am not sure how to declare where

I get MyReference. and MyIntProperty from ?

Any help would be greatly appreciated.

 

Link to comment
Share on other sites

  • 2 months later...

Did you have any luck finding more about this? I was wondering the same thing. Not much info out about this.

 

I found one mention in the CK, but I think those variables might be just dummy placeholders for the example, I think?

 

MyReference.SetPV MyIntProperty 1
MyReference.SetPV MyBoolProperty True

Link to comment
Share on other sites

Did you have any luck finding more about this? I was wondering the same thing. Not much info out about this.

 

 

Check out keywords you add to the actor there are some like

 

Workshopallowcommand which lets them be commanded in workshop mode
workshopallowmove and this lets you move them to another settlement

 

I did not find what I was hoping for and that was to allow you to pick them up like an object

Link to comment
Share on other sites

  • Recently Browsing   0 members

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