31 lines
794 B
Plaintext
31 lines
794 B
Plaintext
/*
|
|
Series of scripts: 1-10
|
|
Upon death of PC banner, spawn in Horde Banner
|
|
Scripts 1-5 also burn the neighbouring house
|
|
Created By: Dalantriel Jul 22, 2002
|
|
*/
|
|
|
|
|
|
void main()
|
|
{
|
|
location loc = GetLocation(OBJECT_SELF);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "hordebanner002", loc, TRUE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "unholylight", loc, TRUE);
|
|
DestroyObject(GetNearestObjectByTag("MagicSparksWhite"));
|
|
|
|
loc = GetLocation(GetObjectByTag("spawnbodak2"));
|
|
object oCreature = GetObjectByTag("ms_spawnbodak2");
|
|
|
|
if(!(GetCurrentHitPoints(oCreature) > 0))
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE, "bodak002", loc, TRUE);
|
|
}
|
|
|
|
|
|
|
|
SoundObjectStop(GetObjectByTag("MagicCrystalGood2"));
|
|
SoundObjectPlay(GetObjectByTag("MagicPortalEvil2"));
|
|
|
|
}
|
|
|