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

137 lines
8.5 KiB
Plaintext

void main()
{
effect eHold = EffectVisualEffect(VFX_DUR_FREEZE_ANIMATION);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eHold, OBJECT_SELF);
SetLocalInt(OBJECT_SELF, "X1_L_IMMUNE_TO_DISPEL", 10);
int iC = GetListenPatternNumber();
if(iC == 44 && GetLocalInt(OBJECT_SELF, "Dragon") != 1)
{
SetLocalInt(OBJECT_SELF, "Dragon", 1);
SpeakString("The lions sing and the hills take flight.");
DelayCommand(2.0, SpeakString("The moon by day, and the sun by night."));
DelayCommand(4.0, SpeakString("Blind woman, deaf man, jackdaw fool."));
DelayCommand(6.0, SpeakString("Let The Lords Of Fire Rule!."));
object oSham = GetObjectByTag("baf_stsham");
AssignCommand(oSham, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oSham, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oSham, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oSham, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember1 = GetObjectByTag("ba_fire_elv");
AssignCommand(oMember1, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember1, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember1, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember1, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember2 = GetObjectByTag("ba_fire_dar");
AssignCommand(oMember2, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember2, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember2, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember2, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember3 = GetObjectByTag("ba_fire_tor");
AssignCommand(oMember3, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember3, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember3, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember3, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember4 = GetObjectByTag("ba_fire_fre");
AssignCommand(oMember4, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember4, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember4, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember4, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember5 = GetObjectByTag("ba_fire_han");
AssignCommand(oMember5, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember5, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember5, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember5, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember6 = GetObjectByTag("ba_fire_kai");
AssignCommand(oMember6, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember6, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember6, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember6, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember7 = GetObjectByTag("ba_fire_met");
AssignCommand(oMember7, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember7, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember7, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember7, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember8 = GetObjectByTag("ba_fire_sje");
AssignCommand(oMember8, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember8, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember8, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember8, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember9 = GetObjectByTag("ba_fire_ace");
AssignCommand(oMember9, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember9, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember9, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember9, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember10 = GetObjectByTag("ba_fire_wom");
AssignCommand(oMember10, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember10, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember10, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember10, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oMember11 = GetObjectByTag("ba_fire_eme");
AssignCommand(oMember11, ActionSpeakString("The lions sing and the hills take flight."));
DelayCommand(2.0, AssignCommand(oMember11, ActionSpeakString("The moon by day, and the sun by night.")));
DelayCommand(4.0, AssignCommand(oMember11, ActionSpeakString("Blind woman, deaf man, jackdaw fool.")));
DelayCommand(6.0, AssignCommand(oMember11, ActionSpeakString("Let The Lords Of Fire Rule!")));
object oPlaceable1 = GetObjectByTag("bah_revive1");
object oPlaceable2 = GetObjectByTag("bah_revive2");
effect eRevive = EffectVisualEffect(488);
location lPlaceable1 = GetLocation(oPlaceable1);
location lPlaceable2 = GetLocation(oPlaceable2);
DelayCommand(6.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eRevive, lPlaceable1));
DelayCommand(6.0, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eRevive, lPlaceable2));
DelayCommand(30.0, SetLocalInt(OBJECT_SELF, "Dragon", 0));
}
else if(iC == 45 || iC == 46)
{
SpeakString("The lions sing and the hills take flight.");
object oSham = GetObjectByTag("baf_stsham");
AssignCommand(oSham, ActionSpeakString("Noob, stfu!"));
object oMember1 = GetObjectByTag("ba_fire_elv");
AssignCommand(oMember1, ActionSpeakString("Noob, stfu!"));
object oMember2 = GetObjectByTag("ba_fire_dar");
AssignCommand(oMember2, ActionSpeakString("Noob, stfu!"));
object oMember3 = GetObjectByTag("ba_fire_tor");
AssignCommand(oMember3, ActionSpeakString("Noob, stfu!"));
object oMember4 = GetObjectByTag("ba_fire_fre");
AssignCommand(oMember4, ActionSpeakString("Noob, stfu!"));
object oMember5 = GetObjectByTag("ba_fire_han");
AssignCommand(oMember5, ActionSpeakString("Noob, stfu!"));
object oMember6 = GetObjectByTag("ba_fire_kai");
AssignCommand(oMember6, ActionSpeakString("Noob, stfu!"));
object oMember7 = GetObjectByTag("ba_fire_met");
AssignCommand(oMember7, ActionSpeakString("Noob, stfu!"));
object oMember8 = GetObjectByTag("ba_fire_sje");
AssignCommand(oMember8, ActionSpeakString("Noob, stfu!"));
object oMember9 = GetObjectByTag("ba_fire_ace");
AssignCommand(oMember9, ActionSpeakString("Noob, stfu!"));
object oMember10 = GetObjectByTag("ba_fire_wom");
AssignCommand(oMember10, ActionSpeakString("Noob, stfu!"));
object oMember11 = GetObjectByTag("ba_fire_eme");
AssignCommand(oMember11, ActionSpeakString("Noob, stfu!"));
}
}