Module commit
Module commit.
This commit is contained in:
26
_module/nss/20levelrestrict.nss
Normal file
26
_module/nss/20levelrestrict.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user