How to do this? I know that you must design area and tell them to do sth, but NPC is not doing anything. After few seconds (turns) I get information like “Priscila Doss completed the assigned task”.
There is poor feedback given at the moment as to why the task isnt happening, I plan on adding some more feedback to the camp bulletin board, so I wont have to fill the message log up with NPC activity spam.
a few common reasons -
- Depending on the activity, there needs to be enough light, so the task wont be posssible at night-time.
- depending on the activity, the NPC needs certain skills, to take apart a vehicle, they need to have the required mechanics skill for each part.
- depending on the activity, the NPC needs certain tools/components nearby, and thse things need to be ina loot zone for the NPC to know where to fetch them from.
So what is the activity you want them to do?
Chopping trees. I tried to leave axe in ‘chopping tree area’ and give it to NPC.
Ah ok.
Make a loot:tool zone nearby, put the axe in that zone, or give the wood axe to the NPC directly, then put the chopping tree zone over the trees you want chopped.
Ok… that was weird… I gave NPC axe before and she didn’t chop any trees, but when I made zone for tools (and put there axe) she went to work (but she didn’t take another axe from this zone, she finally used axe from inventory).
Hmm tht is odd, ill look into that, they will use an axe from their inventory, but its possible in the code that they dont check if they have one first before they even start the task to fetch what is needed.
Ah, ok. There is need to design ‘tool zone’, NPCs don’t need to take tools from this zone, but it must be set somewhere.
Edit: NPCs have a problem with ‘taking tools from tool zone’. I must give tool to them cause they don’t want to take it.
Apparently yes, thats not intended so Ill look into fixing that.
Do they have enough storage space? i.e do they have a backpack?
Yes, I gave them backpacks.
Are you running a version of the game that was updated today? there were some changes to that area of the code today.
Ah, that might be a reason xD No, I am playing at build 9774 (from 2 days ago) cause newest version is a little buggy (errors in loading save - new building? and can’t search in crafting menu).
Ah ok, well its not the recent change thats causing it then… idk then
Also I have question about giving work to NPCs. Is it normal that if I quit game and load it then NPCs stop working and start following me?
That shouldn’t be happening. I’ll investigate that too.
It’d be useful if you could log issues on the github with these two things you’ve noticed.
Related question. Do NPCs put tools back when they’re done?
They don’t put back tools back.
My bad. I mess up a little. They take tools from ‘tool zone’. I gave them order to chop trees when they didn’t have backpacks and after gave them I also gave them axes without leaving them (axes) in zone.