9
3

UmaDrandamir.lua 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/UmaDrandamir.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 01:06:45
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. if not HasLanguage(Spawn,1)then
  14. local choice = MakeRandomInt(1,4)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_3_garbled_gf_f1b9e87a.mp3", "Uf envoudig een van uw gekozen en enkel geven om Vensters", "", 1726710708, 3708905850, Spawn, 1)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_3_garbled_gf_1d4e2601.mp3", "Zergen oer steb liteit", "", 707675, 224549223, Spawn, 1)
  19. elseif choice == 3 then
  20. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_3_garbled_gf_b0cb46d4.mp3", "Neit te geb ruiken, wat weg hout u hetten", "", 2980125753, 2181905857, Spawn, 1)
  21. elseif choice == 4 then
  22. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_3_garbled_gf_b80c3123.mp3", "Asfkher van baed rijs prakti kjen ", "", 3873974123, 675447828, Spawn, 1)
  23. end
  24. else
  25. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1001.mp3", "The safest way to Bridge Keep is around the mountains to the northwest. Taking the road is always yer best bet.", "", 0, 0, Spawn, 1)
  26. end
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end
  31. function waypoints(NPC)
  32. MovementLoopAddLocation(NPC, -461.72, -18.38, -445.97, 2, 15)
  33. MovementLoopAddLocation(NPC, -467.76, -18.38, -436.93, 2, 0)
  34. MovementLoopAddLocation(NPC, -469.14, -18.38, -419.19, 2, 15)
  35. MovementLoopAddLocation(NPC, -468.47, -18.38, -417.59, 2, 0)
  36. MovementLoopAddLocation(NPC, -451.43, -18.38, -418.85, 2, 0)
  37. MovementLoopAddLocation(NPC, -450.46, -18.38, -419.19, 2, 0)
  38. MovementLoopAddLocation(NPC, -449.77, -18.38, -418, 2, 0)
  39. MovementLoopAddLocation(NPC, -447.53, -18.38, -417.83, 2, 0)
  40. MovementLoopAddLocation(NPC, -439.03, -18.38, -417.04, 2, 15)
  41. MovementLoopAddLocation(NPC, -437.42, -18.38, -417.04, 2, 0)
  42. MovementLoopAddLocation(NPC, -436.32, -18.38, -423.62, 2, 0)
  43. MovementLoopAddLocation(NPC, -436.58, -18.38, -428.13, 2, 15)
  44. MovementLoopAddLocation(NPC, -437.78, -18.38, -429.49, 2, 0)
  45. MovementLoopAddLocation(NPC, -434.64, -18.38, -441.81, 2, 0)
  46. MovementLoopAddLocation(NPC, -437.41, -18.38, -444.28, 2, 0)
  47. MovementLoopAddLocation(NPC, -443.77, -18.38, -445.4, 2, 0)
  48. MovementLoopAddLocation(NPC, -454.7, -18.38, -448.57, 2, 15)
  49. MovementLoopAddLocation(NPC, -455.32, -18.38, -449.29, 2, 0)
  50. MovementLoopAddLocation(NPC, -472.15, -18.38, -440.33, 2, 15)
  51. MovementLoopAddLocation(NPC, -455.32, -18.38, -449.29, 2, 0)
  52. MovementLoopAddLocation(NPC, -454.7, -18.38, -448.57, 2, 15)
  53. MovementLoopAddLocation(NPC, -443.77, -18.38, -445.4, 2, 0)
  54. MovementLoopAddLocation(NPC, -437.41, -18.38, -444.28, 2, 0)
  55. MovementLoopAddLocation(NPC, -434.64, -18.38, -441.81, 2, 0)
  56. MovementLoopAddLocation(NPC, -437.78, -18.38, -429.49, 2, 0)
  57. MovementLoopAddLocation(NPC, -436.58, -18.38, -428.13, 2, 15)
  58. MovementLoopAddLocation(NPC, -436.32, -18.38, -423.62, 2, 0)
  59. MovementLoopAddLocation(NPC, -437.42, -18.38, -417.04, 2, 0)
  60. MovementLoopAddLocation(NPC, -439.03, -18.38, -417.04, 2, 15)
  61. MovementLoopAddLocation(NPC, -447.53, -18.38, -417.83, 2, 0)
  62. MovementLoopAddLocation(NPC, -449.77, -18.38, -418, 2, 0)
  63. MovementLoopAddLocation(NPC, -450.46, -18.38, -419.19, 2, 0)
  64. MovementLoopAddLocation(NPC, -451.43, -18.38, -418.85, 2, 0)
  65. MovementLoopAddLocation(NPC, -468.47, -18.38, -417.59, 2, 0)
  66. MovementLoopAddLocation(NPC, -469.14, -18.38, -419.19, 2, 15)
  67. MovementLoopAddLocation(NPC, -467.76, -18.38, -436.93, 2, 0)
  68. MovementLoopAddLocation(NPC, -461.72, -18.38, -445.97, 2, 15)
  69. end