void main()
{
    switch( GetUserDefinedEventNumber() )
    {
    case 1007:  // DEATH
        {
        object oDest = GetObjectByTag("WP_4");
        location lDest = GetLocation(oDest);

        CreateObject(OBJECT_TYPE_CREATURE,"spectralhero10",lDest,FALSE);
        }
     }
}
