36 lines
1017 B
Plaintext
36 lines
1017 B
Plaintext
|
|
void main()
|
|
{
|
|
location loc = GetLocation(OBJECT_SELF);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner004", loc, TRUE);
|
|
|
|
object oflame = GetObjectByTag("op4_f1");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
|
|
oflame = GetObjectByTag("op4_f2");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
|
|
oflame = GetObjectByTag("op4_f3");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
|
|
oflame = GetObjectByTag("Hordedoor004");
|
|
loc = GetLocation(oflame);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
|
DestroyObject(oflame);
|
|
|
|
loc = GetLocation(GetObjectByTag("spawnchamp4"));
|
|
object oCreature = GetObjectByTag("ms_spawnchamp4");
|
|
|
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE, "orcchamp004", loc, TRUE);
|
|
}
|
|
|
|
SoundObjectPlay(GetObjectByTag("FireOutpost4"));
|
|
|
|
}
|
|
|