Jump to content

Papyrus: Howto collect citizens


zaira

Recommended Posts

Posted

When I start a quest in a tavern I try to collect a citizen in the current city (outside of the tavern) with this conditions:

 

Find Matching References:

  • Subject IsInSameCurrentLocationAsRef(PlayerRef, LocTypeCity) == 1
  • Subject GetInSameCell(PlayerRef) == 0
  • Subject HasKeyword(ActorTypeNPC) == 1
  • Subject GetSleeping() == 0

But I never get any references. What am I doing wrong?

 

Posted

the part "GetInSameCell(PlayerRef) == 0" doesn't work, because the only npc the quest can find are the once in the same cell with the player, so you have to set it to "== 1"

 

also i wouldn't use the first condition, seems redundant. If i got you right you want a NPC that belongs to the current city where the inn is? For that you can better use:

"GetInFaction(NameOfCityCrimeFaction)  == 1" however that wouldn't work for the smaller villages, for example Rorikstead belongs to the Whiterun crime faction.

Posted

As far as I heard I can also fill unique actors when they are not in the current cell.

 

The intention is to acquire guests for the tavern

Archived

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

  • Recently Browsing   0 members

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