26 lines
489 B
Plaintext
26 lines
489 B
Plaintext
|
string sDeny;
|
||
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 2.2
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||
|
|
||
|
//Put this script OnClick or OnFailToOpen
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetClickingObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "nw_it_recall")== OBJECT_INVALID)
|
||
|
{
|
||
|
sDeny="You need a Stone of Recall to access this Portal.";
|
||
|
|
||
|
SendMessageToPC(oPC, sDeny);
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|