View Single Post
Old 10-06-2002, 03:23 PM   #7
Chewbacca
Zartan
 

Join Date: July 18, 2001
Location: America, On The Beautiful Earth
Age: 51
Posts: 5,373
Quote:
Originally posted by Chewbacca:
void main()
{
ClearAllActions();
object oPC = GetEnteringObject();
object oNPC = GetObjectByTag("NPCTAG");
AssignCommand(oNPC, ActionStartConversation(oPC, "NameOfConversation"));
DestroyObject(OBJECT_SELF);
}

I added the destroy self command to my previous script, it works for triggered conversations you want to happen only once.
__________________
Support Local Music and Record Stores!
Got Liberty?
Chewbacca is offline   Reply With Quote