Jump to content

Pigmen will never use "PIG_TALK_LOOKATWILSON" strings.

  • Fixed

Pigmen will never use the "PIG_TALK_LOOKATWILSON" strings which in context is supposed to play when unbefriended pigmen see nearby players.

In DS the "GetFaceTargetFn" function would search for a close enough player which makes sense in context. However this was changed in DST to instead return the pigmens leader. An earlier behaviour in the behaviour tree("PIG_TALK_FOLLOWWILSON") uses this function too, but since the conditions are the same and it's earlier in the behaviour tree, that behaviour will always override the "LOOKATWILSON" chattynode.

The fix should be making an alternate version of GetFaceTargetFn that instead finds a nearby player instead of returning the leader and using that for the "PIG_TALK_LOOKATWILSON" chatty node.

Steps to Reproduce

1. Try to trigger the "PIG_TALK_LOOKATWILSON" chattynode (found in pigbrain.lua)
2. Notice it never runs

  • Like 2
  • Sanity 2

User Feedback

A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...