28 lines
478 B
Plaintext
28 lines
478 B
Plaintext
object oDeny;
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.6
|
|
|
|
For download info, please visit:
|
|
http://www.lilacsoul.revility.com */
|
|
//Stops ppl porting into Ancient Taer City
|
|
//Put this OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "TaerCityKey")== OBJECT_INVALID)
|
|
{
|
|
oDeny = GetWaypointByTag("WP_des_ruins_w");
|
|
|
|
AssignCommand(oPC, JumpToObject(oDeny));
|
|
|
|
return;
|
|
}
|
|
|
|
}
|
|
|