/* Script generated by Lilac Soul's NWN Script Generator, v. 2.1 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Put this OnEnter void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF)); if (DoOnce==TRUE) return; SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE); object oCaster; oCaster = OBJECT_SELF; object oTarget; oTarget = oPC; AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_WEIRD, oTarget, METAMAGIC_ANY, TRUE, 18, PROJECTILE_PATH_TYPE_DEFAULT, TRUE)); }