Aller au contenu

Photo

How to keep NPCs from facing you when you talk to them.(resolved)


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I know this has been discussed but I can't find it.  Thanks for any help.

Modifié par M. Rieder, 27 août 2011 - 01:39 .


#2
kamal_

kamal_
  • Members
  • 5 260 messages
There is a listener under the node of the action. Set the listener to the tag of what you would like the npc to speak the line to. A more advanced way would be to put some script forcing them to a specific facing.

#3
Dann-J

Dann-J
  • Members
  • 3 161 messages
An OnSpawn script for the NPC that sets the SetOrientOnDialogue() flag to FALSE will do the trick.

#4
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Thanks guys. the SetOrientOnDialogue(FALSE) is what I was looking for. Normally I would do what you said, kamal, but this is at the very beginning of a convo when the PC initiates conversation.

#5
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I Have a custom on Dialogue script for the NPC in question and I used the OrientOnDialogue() function there and it worked.