Lankhmar_PRC8/_module/nss/nw_c2_vampire7_m.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

22 lines
701 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 oGas = CreateObject(OBJECT_TYPE_CREATURE, GetTag(OBJECT_SELF) + "myr_SHAD",GetLocation(OBJECT_SELF));
SetLocalString(oGas, "NW_L_MYCREATOR", GetTag(OBJECT_SELF));
DestroyObject(OBJECT_SELF, 0.5);
ExecuteScript("prc_npc_death", OBJECT_SELF);
}