25 lines
498 B
Plaintext
25 lines
498 B
Plaintext
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.2
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.angelfire.com/space/lilacsoul */
|
||
|
|
||
|
//Goes OnPerceived of a creature
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetLastPerceived();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (!GetLastPerceptionSeen()) return;
|
||
|
if (GetItemPossessedBy(oPC, "witchbud")== OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = GetObjectByTag("ct_SnifferDog");
|
||
|
|
||
|
AssignCommand(oTarget, ActionStartConversation(oPC, "drug_guard"));
|
||
|
|
||
|
}
|