Battledale_PRC8/_module/nss/jw_coffin_onopen.nss

33 lines
544 B
Plaintext
Raw Permalink Normal View History

void main()
{
if (!GetIsOpen(OBJECT_SELF))
{
ActionPlayAnimation (ANIMATION_PLACEABLE_OPEN);
//DoPlaceableObjectAction(OBJECT_SELF,ANIMATION_PLACEABLE_OPEN);
if (GetLocalInt(OBJECT_SELF,"vampin")==2)
{
PlaySound("sff_gasevil");
}
}
if (GetLocalInt(OBJECT_SELF,"vampin")==2)
{
SpeakString("You see inside this coffin the calm form of a sleeping vampire. It seems quite impervious to harm.");
}
else
{
SpeakString("This coffin is quite empty.");
}
}