22 lines
617 B
Plaintext
22 lines
617 B
Plaintext
|
|
void main()
|
|
{
|
|
location loc = GetLocation(OBJECT_SELF);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner003", loc, TRUE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "unholylight", loc, TRUE);
|
|
DestroyObject(GetNearestObjectByTag("MagicSparksWhite"));
|
|
|
|
loc = GetLocation(GetObjectByTag("spawnmohrg3"));
|
|
object oCreature = GetObjectByTag("ms_spawnmohrg3");
|
|
|
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE, "mohrg003", loc, TRUE);
|
|
}
|
|
|
|
SoundObjectStop(GetObjectByTag("MagicCrystalGood3"));
|
|
SoundObjectPlay(GetObjectByTag("MagicPortalEvil3"));
|
|
|
|
}
|
|
|