9
3

Valik.lua 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/Valik.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.03 07:09:22
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local choice = math.random(1,5)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/kerran_eco_good_1/ft/kerran/kerran_eco_good_1_hail_gm_ac88207.mp3", "The goal isn't always catching the pray, rather, its the chase.", "scheme", 152508601, 1517122703, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/kerran_eco_good_1/ft/kerran/kerran_eco_good_1_aoi_gm_a3788b05.mp3", "Watch the tail.. watch the tail!", "cringe", 1917905155, 2497295526, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/kerran_eco_good_1/ft/kerran/kerran_eco_good_1_hail_gm_44b38e8c.mp3", "Was it me, or did I just see something move over there?", "doubletake", 3599874332, 7461740, Spawn)
  20. elseif choice == 4 then
  21. PlayFlavor(NPC, "voiceover/english/kerran_eco_good_1/ft/kerran/kerran_eco_good_1_hail_gm_6b58eeec.mp3", "I keep my whit as sharp as my claws! I never know which one I'll need to rely on.", "wink", 3670900464, 1104739099, Spawn)
  22. elseif choice == 5 then
  23. PlayFlavor(NPC, "voiceover/english/kerran_eco_good_1/ft/kerran/kerran_eco_good_1_hail_gm_a981f363.mp3", "It is better to swallow your pride than to lose your life.", "nod", 2178756893, 2548415956, Spawn)
  24. end
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end
  29. function waypoints(NPC)
  30. MovementLoopAddLocation(NPC, -90.79, -8.24, 46.43, 2, math.random(40,65))
  31. MovementLoopAddLocation(NPC, -91.97, -8.41, 46.07, 2, 0)
  32. MovementLoopAddLocation(NPC, -91.79, -8.37, 44.74, 2, 0)
  33. MovementLoopAddLocation(NPC, -86.17, -8.09, 41.91, 2, 0)
  34. MovementLoopAddLocation(NPC, -76.62, -7.46, 40.35, 2, 0)
  35. MovementLoopAddLocation(NPC, -67.53, -7.62, 36.94, 2, math.random(40,65))
  36. MovementLoopAddLocation(NPC, -65.41, -8.2, 35.36, 2, 0)
  37. MovementLoopAddLocation(NPC, -63.24, -8.56, 35.93, 2, 0)
  38. MovementLoopAddLocation(NPC, -61.4, -8.61, 38.8, 2, 0)
  39. MovementLoopAddLocation(NPC, -62.72, -8.34, 43.89, 2, 0)
  40. MovementLoopAddLocation(NPC, -64.75, -7.61, 49.2, 2, 0)
  41. MovementLoopAddLocation(NPC, -75.98, -8.05, 53.99, 2, 0)
  42. MovementLoopAddLocation(NPC, -81.08, -7.17, 62.01, 2, 0)
  43. MovementLoopAddLocation(NPC, -74.52, -8.05, 76.89, 2, 0)
  44. MovementLoopAddLocation(NPC, -67.88, -7.48, 80.54, 2, 0)
  45. MovementLoopAddLocation(NPC, -59.01, -8.19, 85.42, 2, math.random(40,65))
  46. MovementLoopAddLocation(NPC, -56.76, -9.16, 83.46, 2, 0)
  47. MovementLoopAddLocation(NPC, -58.53, -8.27, 81.09, 2, 0)
  48. MovementLoopAddLocation(NPC, -61.7, -7.88, 81.81, 2, 0)
  49. MovementLoopAddLocation(NPC, -66.12, -7.49, 84.77, 2, 0)
  50. MovementLoopAddLocation(NPC, -69.87, -7.65, 90.29, 2, 0)
  51. MovementLoopAddLocation(NPC, -81.1, -7.12, 94.17, 2, 0)
  52. MovementLoopAddLocation(NPC, -87.62, -7.15, 94.63, 2, 0)
  53. MovementLoopAddLocation(NPC, -91.69, -8.09, 95.38, 2, math.random(40,65))
  54. MovementLoopAddLocation(NPC, -93.45, -8.7, 96, 2, 0)
  55. MovementLoopAddLocation(NPC, -90.12, -7.64, 98.77, 2, 0)
  56. MovementLoopAddLocation(NPC, -87.81, -7.12, 95.61, 2, 0)
  57. MovementLoopAddLocation(NPC, -83.89, -7.33, 88.78, 2, 0)
  58. MovementLoopAddLocation(NPC, -79.52, -7.48, 82.73, 2, 0)
  59. MovementLoopAddLocation(NPC, -77.75, -7.9, 78.23, 2, 0)
  60. MovementLoopAddLocation(NPC, -77.08, -7.98, 66.4, 2, 0)
  61. MovementLoopAddLocation(NPC, -80.17, -7.32, 54.59, 2, 0)
  62. MovementLoopAddLocation(NPC, -85.47, -7.42, 50.24, 2, 0)
  63. end