27 lines
442 B
Plaintext
27 lines
442 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 (GetHitDice(oPC) < 20)
|
||
|
{
|
||
|
sDeny="You are to high a level for this war.";
|
||
|
|
||
|
SendMessageToPC(oPC, sDeny);
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|