//:://///////////////////////////////////////////// //:: NW_C2_VAMPIREG9.nss //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Vampire gas, when spawned in tries to move coffin with same name as self */ //::////////////////////////////////////////////// //:: Created By: Brent //:: Created On: January 2002 //::////////////////////////////////////////////// void main() { ApplyEffectToObject(DURATION_TYPE_PERMANENT,ExtraordinaryEffect(EffectVisualEffect(6)),OBJECT_SELF); vector Vec=Vector(IntToFloat(Random(80))-40.0,IntToFloat(Random(80))-40.0,IntToFloat(Random(10))-10.0); location lLocation=Location(GetArea(OBJECT_SELF),GetPosition(OBJECT_SELF)-Vec,1.0); ActionMoveToLocation(lLocation, FALSE); //* moving this number too close will make this break SetCommandable(FALSE); }