I might be able to set a variable in the quest dialogue, but I'm not sure of the timing for setting such a variable.
So does anybody know of a way to figure out who I'm talking to?
Thanks.
Ref rTargetInt iNPCBegin MenuMode 1009 If (iNPC == 1) ;DoStuff1 ElseIf (iNPC == 2) ;DoStuff2 ElseIf (iNPC == 3) ;DoStuff3 EndIfEnd;=====================Begin GameMode ; * Set rTarget to GetCrosshairREF ; * If rTarget.GetIsID NPC1 Set iNPC to 1 ElseIf rTarget.GetIsID NPC2 Set iNPC to 2 ElseIf rTarget.GetIsID NPC2 Set iNPC to 3 ElseIf iNPC Set iNPC to 0 EndIfEnd*http://cs.elderscrolls.com/constwiki/index.php/GetCrosshairRef only works in GameMode