/*
    Series of scripts: 1-10
    Upon death of PC banner, spawn in Horde Banner
    Scripts 1-5 also burn the neighbouring house
    Created By: Dalantriel Jul 22, 2002
*/


void main()
{
    location loc = GetLocation(OBJECT_SELF);
    CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner001", loc, TRUE);

    object oflame = GetObjectByTag("op1_f1");
    loc = GetLocation(oflame);
    CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);

    oflame = GetObjectByTag("op1_f2");
    loc = GetLocation(oflame);
    CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);

    oflame = GetObjectByTag("Hordedoor001");
    loc = GetLocation(oflame);
    CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
    DestroyObject(oflame);

    loc = GetLocation(GetObjectByTag("spawnshamanscout1"));
    object oCreature = GetObjectByTag("ms_spawnshamanscout1");

    if(!(GetCurrentHitPoints(oCreature) > 0))
    {
        CreateObject(OBJECT_TYPE_CREATURE, "shamanscout001", loc, TRUE);
    }



    SoundObjectPlay(GetObjectByTag("FireOutpost1"));

}

