22 lines
617 B
Plaintext
22 lines
617 B
Plaintext
|
|
void main()
|
|
{
|
|
location loc = GetLocation(OBJECT_SELF);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner004", loc, TRUE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "unholylight", loc, TRUE);
|
|
DestroyObject(GetNearestObjectByTag("MagicSparksWhite"));
|
|
|
|
loc = GetLocation(GetObjectByTag("spawnmohrg4"));
|
|
object oCreature = GetObjectByTag("ms_spawnmohrg4");
|
|
|
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE, "mohrg004", loc, TRUE);
|
|
}
|
|
|
|
SoundObjectStop(GetObjectByTag("MagicCrystalGood4"));
|
|
SoundObjectPlay(GetObjectByTag("MagicPortalEvil4"));
|
|
|
|
}
|
|
|