///////////////////////////////////// // Dragon's Edge // by Charly Carlos ///////////////////////////////////// // OnExit Script. When the PC leaves the Old Man Inn, and the PC has already // finished the Zhentarim Spy quest. Destroy the spy and her belongings, if she // is still alive, to create the illusion that she has left town. ///////////////////////////////////// void main() { object oElena = GetObjectByTag("SuspiciousElvenWoman"); if ((GetLocalInt(GetModule(), "nWaymootQuest3")> 1) && (GetIsObjectValid(oElena)== TRUE)) { DestroyObject(oElena); } }