9
3

adiseasedratonga391865.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391865.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391865.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:27:16
  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, -181.57, 0.24, 160.47, 2, math.random(12, 22))
  32. MovementLoopAddLocation(NPC, -182.14, 0.00, 162.44, 2, 0)
  33. MovementLoopAddLocation(NPC, -184.14, 0.30, 170.58, 2, math.random(12, 22))
  34. MovementLoopAddLocation(NPC, -182.56, 0.24, 170.44, 2, 0)
  35. MovementLoopAddLocation(NPC, -182.56, 0.24, 170.43, 2, math.random(12, 22))
  36. MovementLoopAddLocation(NPC, -183.09, 0.00, 166.25, 2, 0)
  37. MovementLoopAddLocation(NPC, -182.58, 0.00, 158.75, 2, math.random(12, 22))
  38. MovementLoopAddLocation(NPC, -182.06, 0.00, 162.09, 2, 0)
  39. MovementLoopAddLocation(NPC, -179.71, 0.17, 172.33, 2, math.random(12, 22), "changegrid_Going_Up")
  40. MovementLoopAddLocation(NPC, -180.11, 0.17, 169.26, 2, 0, "changegrid_Going_Down")
  41. MovementLoopAddLocation(NPC, -181.43, 0.01, 166.47, 2, 0)
  42. MovementLoopAddLocation(NPC, -181.67, 0.00, 156.26, 2, math.random(12, 22))
  43. MovementLoopAddLocation(NPC, -181.52, 0.00, 159.01, 2, 0)
  44. MovementLoopAddLocation(NPC, -181.57, 0.24, 160.71, 2, 0)
  45. MovementLoopAddLocation(NPC, -182.00, 0.00, 162.08, 2, 0)
  46. MovementLoopAddLocation(NPC, -182.04, 0.00, 168.03, 2, 0)
  47. MovementLoopAddLocation(NPC, -181.51, 0.00, 169.27, 2, math.random(12, 22))
  48. MovementLoopAddLocation(NPC, -181.89, 0.00, 168.50, 2, 0)
  49. MovementLoopAddLocation(NPC, -181.52, 0.00, 166.49, 2, 0)
  50. MovementLoopAddLocation(NPC, -181.53, 0.00, 166.48, 2, math.random(12, 22))
  51. MovementLoopAddLocation(NPC, -181.58, 0.00, 164.54, 2, math.random(12, 22))
  52. MovementLoopAddLocation(NPC, -181.80, 0.00, 161.79, 2, 0)
  53. end
  54. --------------------------------------------------------------------------------------
  55. -- NPC Change Grid
  56. --------------------------------------------------------------------------------------
  57. function changegrid_Going_Up(NPC)
  58. SetGridID(NPC, 667331216)
  59. end
  60. function changegrid_Going_Down(NPC)
  61. SetGridID(NPC, 3049532766)
  62. end