Aschbourne_PRC8/_module/nss/nw_c2_vampire7.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

25 lines
856 B
Plaintext

//::///////////////////////////////////////////////
//:: NW_C2_VAMPIRE7.nss
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Vampire turns into a vampire shadow
that looks for the nearest coffin
with the same tag as the shadow.
*/
//:://////////////////////////////////////////////
//:: Created By:
//:: Created On:
//:://////////////////////////////////////////////
void main()
{
object oMyCoffin=GetNearestObjectByTag(GetTag(OBJECT_SELF) + "_SHAD", OBJECT_SELF);
object oGas=CreateObject(OBJECT_TYPE_CREATURE, GetTag(OBJECT_SELF) + "_SHAD",GetLocation(OBJECT_SELF));
SetLocalString(oMyCoffin,"NW_L_MYCREATOR",GetTag(OBJECT_SELF));
SetLocalString(oGas,"NW_L_MYCREATOR",GetTag(OBJECT_SELF));
//GetLocalString(OBJECT_SELF, "NW_L_MYCREATOR")
DestroyObject(OBJECT_SELF, 0.5);
}