Gibberlings3/BG1NPC

Xzar's Quest: druid should spawn together

Gitjas opened this issue · 2 comments

I'm testing out Xzar's questline at the moment. I tried encountering the three druids on various maps. They tend not to spawn or stay together, which makes the Dialogue a bit. Blackberry comes up to talk to you, but Storm and Zosya are elsewhere on the map. If you had somehow already explored those areas, then the camera jumps to them, and you just look at the fog, without them actually being visible. If you have not yet discovered their area, then the camera stays on Blackberry. (randomwalk?...)

Reported by Thels
https://forums.beamdog.com/discussion/comment/1043409/#Comment_1043409

This is probably because all three are spawned by CreateCreatureObjectOffScreen() (in x#xzdqu.baf), which lets the engine place them arbitrarily outside the visual range.
Then, Storm and Zosya start walking towards Blackberry, not the group, which might let them wander outside the visual range.

I changed this locally so that all three start walking towards the group.

If that doesn't solve the problem, this could be fixed by spawning x#black first and have the other two spawn by his side by CreateCreatureObject("xxx","blackberry",0,0,0).

changes merged with 2.5ee branch.