32 lines
880 B
Plaintext
32 lines
880 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
location loc = GetLocation(OBJECT_SELF);
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner003", loc, TRUE);
|
||
|
|
||
|
object oflame = GetObjectByTag("op3_f1");
|
||
|
loc = GetLocation(oflame);
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
||
|
|
||
|
oflame = GetObjectByTag("op3_f2");
|
||
|
loc = GetLocation(oflame);
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
||
|
|
||
|
oflame = GetObjectByTag("Hordedoor003");
|
||
|
loc = GetLocation(oflame);
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "flamelarge", loc, TRUE);
|
||
|
DestroyObject(oflame);
|
||
|
|
||
|
loc = GetLocation(GetObjectByTag("spawnchamp3"));
|
||
|
object oCreature = GetObjectByTag("ms_spawnchamp3");
|
||
|
|
||
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
||
|
{
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "orcchamp003", loc, TRUE);
|
||
|
}
|
||
|
|
||
|
SoundObjectPlay(GetObjectByTag("FireOutpost3"));
|
||
|
|
||
|
}
|
||
|
|