Originally Posted by Marius Fett
You haven't declared your variables.
For example, oPC on it's own doesn't mean anything. If you do this:
object oPC = GetFirstPC();
It should work fine. Same with oTarget, you haven't said what oTarget is.
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.