Initial commit. Updated release archive.
This commit is contained in:
32
_module/nss/at_drug_caught.nss
Normal file
32
_module/nss/at_drug_caught.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
/* 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 = GetPCSpeaker();
|
||||
|
||||
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);
|
||||
|
||||
oTarget = GetObjectByTag("witchbud");
|
||||
|
||||
DestroyObject(oTarget, 0.0);
|
||||
|
||||
SetLocalInt(oPC, "DrugBusted", 0);
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user