/* Script generated by Lilac Soul's NWN Script Generator, v. 1.2 For download info, please visit: http://www.angelfire.com/space/lilacsoul */ //Put this OnEnter void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; int nInt; nInt=GetLocalInt(oPC, "DrugBusted"); if (!(nInt == 1)) return; AssignCommand(oPC, ClearAllActions()); object oTarget; oTarget = GetWaypointByTag("WP_Drug_Cell"); AssignCommand(oPC, ActionJumpToObject(oTarget)); AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 20); AddJournalQuestEntry("jt_DrugSmuggling", 3, oPC, FALSE, FALSE); object oDrugs = GetObjectByTag("witchbud"); DestroyObject(oDrugs, 0.0); SetLocalInt(oPC, "DrugBusted", 0); }