string sDeny; /* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnEnter void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; if (!(GetAlignmentGoodEvil(oPC) == ALIGNMENT_GOOD)) { sDeny="Welcome to Darkmoor slave."; SendMessageToPC(oPC, sDeny); return; } object oCaster; oCaster = GetObjectByTag("guardcrystal"); object oTarget; oTarget = oPC; AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_METEOR_SWARM, oTarget, METAMAGIC_ANY, TRUE, 30, PROJECTILE_PATH_TYPE_DEFAULT, TRUE)); oCaster = GetObjectByTag("guardcrystal"); oTarget = oPC; DelayCommand(5.0, AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_BIGBYS_FORCEFUL_HAND, oTarget, METAMAGIC_ANY, TRUE, 30, PROJECTILE_PATH_TYPE_DEFAULT, TRUE))); }