Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Dialog problem - setting the PC as Listener

Page: 1 of 1
 JebusJM
05-30-2011, 8:10 PM
#1
I'm currently working on a dialog where 2 NPC's are talking to each other, and then turn to the PC and say one line. I've left the Listener box empty (so it would look at the PC by default), but the Speaker is still looking at the other NPC. Is there a tag for the PC to put in the Listener box?

Thanks!
 Qui-Don Jorn
05-30-2011, 8:23 PM
#2
Player?


otherwise this script seems to work for setting my pc to face the speaking NPC after he starts talking..so at the beginning of that dialog


void main()
{
vector vNPC_IACEN = GetPosition( OBJECT_SELF );
AssignCommand( GetPCSpeaker(), SetFacingPoint( vNPC_IACEN ) );

}
 JebusJM
05-30-2011, 8:27 PM
#3
Wasn't sure if that was a guess or not, but it worked perfectly. Thanks a lot mate.
 Qui-Don Jorn
05-30-2011, 8:31 PM
#4
oh that worked?? cool, I remember trying it a long time ago but I think it crashed my game?? :)
 JebusJM
05-30-2011, 8:33 PM
#5
Saw your script as well, thanks for that too. I'll be sure to keep that close by in case I get your crashes :)
 Qui-Don Jorn
05-30-2011, 8:41 PM
#6
Oh it was probably something else that crashed my game..it should be fine. :)
Page: 1 of 1