Jump to content

Is there Faction for prisoner NPC in jail? ( solved)


Recommended Posts

Posted

Hi I hope to add condition for current dialogue topic NPC, to check if the Actor is prisoner in jail or not.

(so, if the actor (NPC) in jail as prisoner, the dialogue topic will be shown)

 

Then I supposed, there may be faction to check it,, then I can use getInfaction as condtion check,, , but I can not find the faction for the purpose...

 

Then I tried to use another faction,,, , but can not find good way to check it for NPC...  Is there way to easy check it, like other factions, (isInBed etc) and get return value ? ?

What I hope to do is,, when I go jail, and there is prisoner, I hope to show the dialogue topic, with other condtion check >> it will start something..

 

any related advice is welcom...

 

Posted

NPC´s aren't supposed to be "Jailed" like the player can be, so there is no faction like this.

But for your case, you could use conditions like these:

isGuard != 1   AND

getParentCell = whiterunJailCell01 OR

getParentCell = RiftenJailCell01 OR

...

(Dont know the actual names of the Cells, so you'd have to check for yourself)

Posted
1 hour ago, Pamatronic said:

NPC´s aren't supposed to be "Jailed" like the player can be, so there is no faction like this.

But for your case, you could use conditions like these:

isGuard != 1   AND

getParentCell = whiterunJailCell01 OR

getParentCell = RiftenJailCell01 OR

...

(Dont know the actual names of the Cells, so you'd have to check for yourself)

Yes thanks, ?it seems what I needed.  I actualy planed to set cell,,  but hesitate,, to add conditions to avoid non captured NPC.. (isGuard etc),,  

(or I can not find good target to test it efficently)^^;

 

and after I ask about it,  I noticed, this condition maybe more useful, with mod,, which  generate or set NPC as prisoner  in jail.. but those mod already use some faction or effect for their captured NPC..

 

But I hoped to know, if there was already default Condtion Function / Faction to detect it.    So for default NPC prisoner in jail, I might need another way.. (or use your offered way thanks)

 

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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