Jump to content

Forcing the player to turn and face an NPC


Recommended Posts

Having given up on my attempt to simply have a second NPC speak up during a dialogue [Previous Post Asking for Help], I have converted said extra dialogue into a scene that plays after the primary dialogue where she [NPC 2] approaches the PC, says the lines I wanted her to say and then the original NPC 1 speaker finished up with a 'say' script command.

 

Now, that all works I guess, it's just... janky. So again, if someone knows a better way I'd be grateful to hear it!

 

Anyway, in order to get the PC to turn and face toward the new NPC speaker I have employed my limited math skills in a script to change the PC's Z axis to be the opposite of NPC 2's z-axis. Super-duper janky.

 

I did try adding the PC as an actor in the 'scene', have him/her say 'nothing' but turn to face NPC 2, but that just halted progress on the scene. Maybe I did it wrong, though...

 

SO if anyone has done something similar [forced the pc to turn and greet a speaker in a scene, or heck, even in a separate dialogue] that worked well please share your secret with me! Emphasis on please!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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