37 lines
672 B
Plaintext
37 lines
672 B
Plaintext
|
string sDeny;
|
||
|
object oDeny;
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.6
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "IbaraksadursHead")== OBJECT_INVALID)
|
||
|
{
|
||
|
oDeny = GetWaypointByTag("IbaraksadurGo");
|
||
|
|
||
|
AssignCommand(oPC, JumpToObject(oDeny));
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "IbarakasadursHead")!= OBJECT_INVALID)
|
||
|
{
|
||
|
sDeny="Begone mortal, only those who can best Lord Ibaraksadur are worthy of my atendance.";
|
||
|
|
||
|
SendMessageToPC(oPC, sDeny);
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|