27 lines
430 B
Plaintext
27 lines
430 B
Plaintext
|
object oDeny;
|
||
|
/* 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 OnEnter
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetHitDice(oPC) >= 18)
|
||
|
{
|
||
|
oDeny = GetWaypointByTag("safejump");
|
||
|
|
||
|
AssignCommand(oPC, JumpToObject(oDeny));
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|