9
3

adiseasedratonga391866.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391866.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391866.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:27:18
  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.62, 0.00, 172.24, 2, math.random(12, 22), "changegrid_Going_Up")
  32. MovementLoopAddLocation(NPC, -182.56, 0.00, 172.37, 2, math.random(12, 22))
  33. MovementLoopAddLocation(NPC, -182.81, 0.00, 168.56, 2, 0, "changegrid_Going_Down")
  34. --MovementLoopAddLocation(NPC, -182.55, 0.00, 163.43, 2, math.random(12, 22))
  35. MovementLoopAddLocation(NPC, -182.76, 0.00, 166.90, 2, math.random(12, 22))
  36. MovementLoopAddLocation(NPC, -181.14, 0.00, 160.65, 2, math.random(12, 22))
  37. MovementLoopAddLocation(NPC, -182.58, 0.00, 156.53, 2, math.random(12, 22))
  38. MovementLoopAddLocation(NPC, -183.65, 0.03, 164.56, 2, math.random(12, 22))
  39. MovementLoopAddLocation(NPC, -180.79, 0.07, 163.40, 2, math.random(12, 22))
  40. MovementLoopAddLocation(NPC, -181.88, 0.00, 164.50, 2, 0)
  41. MovementLoopAddLocation(NPC, -183.17, 0.24, 170.63, 2, math.random(12, 22))
  42. MovementLoopAddLocation(NPC, -182.74, 0.00, 167.47, 2, 0)
  43. MovementLoopAddLocation(NPC, -183.05, 0.24, 160.55, 2, math.random(12, 22))
  44. MovementLoopAddLocation(NPC, -182.12, 0.00, 163.64, 2, 0)
  45. MovementLoopAddLocation(NPC, -182.07, 0.24, 170.61, 2, 0)
  46. end
  47. --------------------------------------------------------------------------------------
  48. -- NPC Change Grid
  49. --------------------------------------------------------------------------------------
  50. function changegrid_Going_Up(NPC)
  51. SetGridID(NPC, 667331216)
  52. end
  53. function changegrid_Going_Down(NPC)
  54. SetGridID(NPC, 3049532766)
  55. end