32 lines
880 B
Plaintext
32 lines
880 B
Plaintext
|
|
void main()
|
|
{
|
|
location loc = GetLocation(OBJECT_SELF);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner005", loc, TRUE);
|
|
|
|
object oflame = GetObjectByTag("op5_f1");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
|
|
oflame = GetObjectByTag("op5_f2");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
|
|
oflame = GetObjectByTag("Hordedoor005");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
DestroyObject(oflame);
|
|
|
|
loc = GetLocation(GetObjectByTag("spawnchamp5"));
|
|
object oCreature = GetObjectByTag("ms_spawnchamp5");
|
|
|
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE, "orcchamp005", loc, TRUE);
|
|
}
|
|
|
|
SoundObjectPlay(GetObjectByTag("FireOutpost5"));
|
|
|
|
}
|
|
|