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.

Problem with conversation start

Page: 1 of 1
 GeorgNihilus
10-07-2007, 12:47 PM
#1
Hi guys :) , well I have problems firing a dialog with a spawned .utc in Manaan, I reach the dialog entry after fighting some sith and the script does nothing, I guess there must be a minimun distance to check to fire the dialog or something else ... this is what I was using:

// "should" fire a conversation with a spawned selkath in Manaan East Central

void main()
{
object oNPC=GetObjectByTag("p_ffselkauth");
AssignCommand(GetFirstPC(), ActionStartConversation(oNPC, "p_ffselkauth"));
}

So ... any help will be appreciated ... :rolleyes:
 tk102
10-07-2007, 11:18 PM
#2
Your script is trying to assign a command to your PC to be the speaker of the dialog with the NPC. Try it the other way around:

void main()
{
object oNPC=GetObjectByTag("p_ffselkauth");
AssignCommand(oNPC, ActionStartConversation(GetFirstPC(), "p_ffselkauth"));
}
 GeorgNihilus
10-22-2007, 9:28 PM
#3
Thanks I see ... gonna check it soon ... ;)

good modding.
Page: 1 of 1