Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
27
_module/nss/jw_ghostel_spawn.nss
Normal file
27
_module/nss/jw_ghostel_spawn.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user