9
3

adefiledsoldier133769629.lua 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/adefiledsoldier133769629.lua
  3. Script Purpose : Waypoint Path for adefiledsoldier133769629.lua
  4. Script Author : Rylec, PlayFlavor by premierio015
  5. Script Date : 06-26-2020 06:15:07
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. SpawnSet(NPC, "hp", 110)
  10. SpawnSet(NPC, "power", 55)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 172.62, -0.6, -177.95, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, 183.25, -0.64, -167.71, 2, 0)
  22. MovementLoopAddLocation(NPC, 188.37, -0.66, -158.95, 2, 0)
  23. MovementLoopAddLocation(NPC, 190.91, -0.67, -157.25, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, 190.95, -0.67, -160.16, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, 189.6, -0.67, -148.23, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, 196.54, -0.69, -157.07, 2, math.random(12, 22))
  27. MovementLoopAddLocation(NPC, 190.9, -0.67, -145.53, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, 191.12, -0.67, -160.53, 2, 0)
  29. MovementLoopAddLocation(NPC, 189.5, -0.66, -171.45, 2, math.random(12, 22))
  30. MovementLoopAddLocation(NPC, 197.95, -0.7, -137.65, 2, math.random(12, 22))
  31. MovementLoopAddLocation(NPC, 196.85, -0.69, -140.11, 2, 0)
  32. MovementLoopAddLocation(NPC, 190.98, -0.67, -149.04, 2, 0)
  33. MovementLoopAddLocation(NPC, 172.65, 0.46, -165.01, 2, math.random(12, 22))
  34. MovementLoopAddLocation(NPC, 189.43, -0.66, -153.45, 2, math.random(12, 22))
  35. MovementLoopAddLocation(NPC, 180.12, -0.63, -165.24, 2, 0)
  36. end
  37. function aggro(NPC, Spawn)
  38. math.randomseed(os.time())
  39. local choice = math.random (1,3)
  40. if choice == 1 then
  41. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_c77d7bff.mp3", "Your eyes are so pretty.", "", 1412152942, 873988632, Spawn)
  42. elseif choice == 2 then
  43. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_2168c5.mp3", "Seek death and it finds you.", "", 2988489621, 1045543573, Spawn)
  44. else
  45. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_8bc7a2cc.mp3", "Your blood calls to me.", "", 1242322025, 1154999668, Spawn)
  46. end
  47. end
  48. function death(NPC, Spawn)
  49. math.randomseed(os.time())
  50. local choice = math.random(1,2)
  51. if choice == 1 then
  52. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_ff39f327.mp3", "Final death comes at last.", "", 3768284332, 62777040, Spawn)
  53. else
  54. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_fbcb503b.mp3", "Rest in peace.", "", 3591309093, 1423656405, Spawn)
  55. end
  56. end