Initial upload
Initial upload
This commit is contained in:
21
_module/nss/pcbanner3.nss
Normal file
21
_module/nss/pcbanner3.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
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"));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user