LoD_PRC8/_module/nss/ba_shouldnthave.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

32 lines
1.2 KiB
Plaintext

void main()
{
PlaySound("as_cv_gongring2");
if(!GetLocalInt(OBJECT_SELF, "NOVOIHANPASKAT" ))
{
SetLocalInt(OBJECT_SELF, "NOVOIHANPASKAT", 1);
SpeakString("All nearby creatures heard that and they rush to kill you. What made you use that gong!?", TALKVOLUME_TALK);
object oGong = GetObjectByTag("ba_notgood");
effect eGong = EffectVisualEffect(VFX_FNF_DISPEL, FALSE);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eGong, oGong, 1.0f);
object oCrypt = GetObjectByTag("ba_cryptboss");
vector vOrc1 = Vector(108.75f, 21.25f, 3.20f);
vector vOrc2 = Vector(111.25f, 21.25f, 3.20f);
vector vOrc3 = Vector(105.00f, 28.50f, 0.00f);
vector vOrc4 = Vector(115.00f, 28.50f, 0.00f);
location lOrc1 = Location(oCrypt, vOrc1, 180.0);
location lOrc2 = Location(oCrypt, vOrc2, 180.0);
location lOrc3 = Location(oCrypt, vOrc3, 180.0);
location lOrc4 = Location(oCrypt, vOrc4, 180.0);
CreateObject(OBJECT_TYPE_CREATURE, "ba_forc", lOrc1, TRUE);
CreateObject(OBJECT_TYPE_CREATURE, "ba_forc", lOrc2, TRUE);
CreateObject(OBJECT_TYPE_CREATURE, "ba_forc", lOrc3, TRUE);
CreateObject(OBJECT_TYPE_CREATURE, "ba_forc", lOrc4, TRUE);
}
}