Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
25 lines
856 B
Plaintext
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);
|
|
}
|