Aschbourne_PRC8/_module/nss/20levelrestrict.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

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;
}
}