View Single Post
Old 03-08-2012, 06:06 PM   #142
JCarter426
Senior Member
 
JCarter426's Avatar
 
Join Date: Feb 2008
Location: Look to your left.
Posts: 1,630
Quote:
Originally Posted by Hassat Hunter View Post
Except that you don't need to write new scripts
And... I just said that.
Quote:
just add/remove and check locals in the dlg-editor.
Seeing how handy it is (and often used in TSL) it's not used in KOTOR1? Ouch.
No, it's not. There are no parameters in the dialogue files, so you would need a new script for everything.
Quote:
KOTOR2 is definitely a lot more modder-friendly 0_0
Yes, yes it is.
Quote:
Originally Posted by DarthJango/Weasley View Post
void main()
{

object oTarget = GetFirstNPC();
SetLocalBoolean(oTarget, SW_PLOT_HAS_TALKED_TO, FALSE);

}

This is me taking a stab at it

The erorrs are the same, but replacing oTarget with undeclared identifyer GetFirstNPC same undecalerd with SW_PLOT_HAS_TALKED_TO and the same error with SteLocalBoolean. The other script works fine thanks.
It's GetFirstPC, not GetFirstNPC.

SW_PLOT_HAS_TALKED_TO might be defined in the file I was reading... I thought it was defined in NWScript. I'll have to check that. In any case, you don't need that; just follow my above instructions.



Last edited by JCarter426; 03-08-2012 at 06:11 PM.
JCarter426 is offline   you may: quote & reply,