9
3

KoregBaelstrom.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/KoregBaelstrom.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 01:06:58
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. if not HasLanguage(Spawn,1)then
  15. local choice = MakeRandomInt(1,4)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_b0cb46d4.mp3", "Neit te geb ruiken, wat weg hout u hetten", "", 1338663568, 2860304215, Spawn, 1)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_f1b9e87a.mp3", "Uf envoudig een van uw gekozen en enkel geven om Vensters", "", 3095091783, 3153428791, Spawn, 1)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_b0cb46d4.mp3", "Neit te geb ruiken, wat weg hout u hetten", "", 1338663568, 2860304215, Spawn, 1)
  22. elseif choice == 4 then
  23. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_b80c3123.mp3", "Asfkher van baed rijs prakti kjen ", "", 1248648431, 1559755809, Spawn, 1)
  24. end
  25. else
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1002.mp3", "Out of the way if you ain't gonna help. I gotta clear these barrels from the docks and ready them for shipment to Thundermist.", "", 0, 0, Spawn, 1)
  27. end
  28. end
  29. function respawn(NPC)
  30. spawn(NPC)
  31. end
  32. function death(NPC,Spawn)
  33. if not HasLanguage(Spawn,1)then
  34. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_1d4e2601.mp3", "Zergen oer steb liteit", "", 1881495348, 2631084324, Spawn, 1)
  35. else
  36. local choice = MakeRandomInt(1,2)
  37. if choice == 1 then
  38. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_death_gm_15be5319.mp3", "No! All that we worked for is for naught...", "", 2280226905, 3776829383, Spawn, 1)
  39. elseif choice == 2 then
  40. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_death_gm_60ab074d.mp3", "My clansmen will avenge me!", "", 2840994277, 1500014795, Spawn, 1)
  41. end
  42. end
  43. end
  44. function waypoints(NPC)
  45. MovementLoopAddLocation(NPC, -428.38, -21.03, -404.45, 2, 1)
  46. MovementLoopAddLocation(NPC, -428.38, -21.03, -404.45, 2, 15,"EcologyEmotes")
  47. MovementLoopAddLocation(NPC, -455.35, -21.03, -403.86, 2, 0)
  48. MovementLoopAddLocation(NPC, -463.37, -21.03, -403.49, 2, 0)
  49. MovementLoopAddLocation(NPC, -472.33, -21.03, -403.28, 2, 0)
  50. MovementLoopAddLocation(NPC, -475.18, -21.03, -403.81, 2, 1)
  51. MovementLoopAddLocation(NPC, -475.18, -21.03, -403.81, 2, 15,"EcologyEmotes")
  52. MovementLoopAddLocation(NPC, -476.49, -21.03, -404.89, 2, 0)
  53. MovementLoopAddLocation(NPC, -476.94, -21.03, -402.7, 2, 0)
  54. MovementLoopAddLocation(NPC, -473.56, -21.03, -403.09, 2, 0)
  55. MovementLoopAddLocation(NPC, -468.61, -21.03, -403.24, 2, 0)
  56. MovementLoopAddLocation(NPC, -467.78, -21.03, -399.45, 2, 1)
  57. MovementLoopAddLocation(NPC, -467.78, -21.03, -399.45, 2, 15,"EcologyEmotes")
  58. MovementLoopAddLocation(NPC, -466.74, -21.03, -398.55, 2, 0)
  59. MovementLoopAddLocation(NPC, -449.41, -21.03, -397.3, 2, 1)
  60. MovementLoopAddLocation(NPC, -449.41, -21.03, -397.3, 2, 15,"EcologyEmotes")
  61. MovementLoopAddLocation(NPC, -448.24, -21.03, -396.52, 2, 0)
  62. MovementLoopAddLocation(NPC, -445.9, -21.03, -398.27, 2, 0)
  63. MovementLoopAddLocation(NPC, -427.07, -21.03, -405.18, 2, 1)
  64. MovementLoopAddLocation(NPC, -427.07, -21.03, -405.18, 2, 15,"EcologyEmotes")
  65. end