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