#include "nw_i0_plot" void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; //make sure only one coffin is spawned per party int CoffinDoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF)); if (CoffinDoOnce==TRUE) return; SetPLocalInt(oPC, GetTag(OBJECT_SELF), TRUE); // spawn Vampire Coffin object oTarget; object oSpawn; oTarget = GetWaypointByTag("WP_VampCoffin"); oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "sarco004", GetLocation(oTarget)); }