adiseasedratonga391867.lua 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391867.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391867.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:39
  6. Script Notes : Locations collected from Live
  7. --]]
  8. require("SpawnScripts/Generic/GenericCombatVoiceOvers")
  9. function death(NPC, Spawn)
  10. generic_death(NPC, Spawn)
  11. end
  12. function aggro(NPC, Spawn)
  13. generic_aggro(NPC, Spawn)
  14. end
  15. function killed(NPC, Spawn)
  16. generic_killed(NPC, Spawn)
  17. end
  18. function healthchanged(NPC, Spawn)
  19. generic_healthchanged(NPC, Spawn)
  20. end
  21. function spawn(NPC)
  22. waypoints(NPC)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end
  30. function waypoints(NPC)
  31. MovementLoopAddLocation(NPC, -182.66, 0.00, 200.62, 2, math.random(12, 22))
  32. MovementLoopAddLocation(NPC, -181.82, 0.09, 201.88, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.98, 0.00, 206.02, 2, 0)
  34. MovementLoopAddLocation(NPC, -180.46, 0.36, 209.14, 2, 0)
  35. MovementLoopAddLocation(NPC, -179.62, 0.08, 212.02, 2, 0, "changegrid_Going_Up")
  36. MovementLoopAddLocation(NPC, -174.73, 0.00, 216.79, 2, 0)
  37. MovementLoopAddLocation(NPC, -174.68, 0.00, 216.77, 2, math.random(12, 22))
  38. MovementLoopAddLocation(NPC, -171.79, 0.00, 217.51, 2, math.random(12, 22))
  39. MovementLoopAddLocation(NPC, -174.79, 0.06, 215.57, 2, 0)
  40. MovementLoopAddLocation(NPC, -180.20, 0.10, 210.66, 2, 0)
  41. MovementLoopAddLocation(NPC, -181.10, 0.04, 207.39, 2, 0, "changegrid_Going_Down")
  42. MovementLoopAddLocation(NPC, -182.44, 0.00, 204.25, 2, math.random(12, 22))
  43. MovementLoopAddLocation(NPC, -178.71, 0.00, 216.51, 2, 0, "changegrid_Going_Up")
  44. MovementLoopAddLocation(NPC, -178.64, 0.00, 216.51, 2, math.random(12, 22))
  45. MovementLoopAddLocation(NPC, -182.35, 0.24, 209.32, 2, math.random(12, 22), "changegrid_Going_Down")
  46. MovementLoopAddLocation(NPC, -180.15, 0.07, 211.58, 2, 0, "changegrid_Going_Up")
  47. MovementLoopAddLocation(NPC, -179.63, 0.00, 213.52, 2, math.random(12, 22))
  48. MovementLoopAddLocation(NPC, -182.14, 0.00, 207.81, 2, 0, "changegrid_Going_Down")
  49. end
  50. --------------------------------------------------------------------------------------
  51. -- NPC Change Grid
  52. --------------------------------------------------------------------------------------
  53. function changegrid_Going_Up(NPC)
  54. SetGridID(NPC, 3053675711)
  55. end
  56. function changegrid_Going_Down(NPC)
  57. SetGridID(NPC, 1555937977)
  58. end