PDA

View Full Version : need script k1


sekan
07-25-2007, 11:37 AM
Can any body give me a script that makes a npc start a to talk with the pc when the pc is near the npc location. An example whould be the dark jedi on Tatooine.

Master Zionosis
07-25-2007, 11:46 AM
Can any body give me a script that makes a npc start a to talk with the pc when the pc is near the npc location. An example whould be the dark jedi on Tatooine.

Overall that was done through a trigger, that has a script attached to it.

You place the trigger in the module, then you attach a script that initiates a dialogue.

That script would be:

void main() {
ActionStartConversation(GetFirstPC(),"dlg_filenamehere");
}

Also There is a great tutorial here (http://www.lucasforums.com/showthread.php?t=145870) by Darth333 that teaches you how to set triggers.

Hope this helps.

sekan
07-25-2007, 11:57 AM
Thank you for a quick answer.

Master Zionosis
07-25-2007, 12:07 PM
I'm always happy to help. :D