TheHordeOrcs_PRC8/_module/nss/pcbanner5.nss

32 lines
880 B
Plaintext
Raw Normal View History

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"));
}