adiseasedratonga1586527.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586527.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586527.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 09:22:56
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -183.30, 0.00, 184.75, 2, math.random(12, 22), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -183.02, 0.39, 186.92, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -183.17, 0.00, 194.50, 2, 0)
  20. MovementLoopAddLocation(NPC, -183.14, 0.10, 193.88, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -182.04, 0.00, 183.84, 2, 0, "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -183.18, 0.00, 194.97, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -183.17, 0.00, 194.93, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, -182.27, 0.00, 192.04, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.23, 0.00, 195.62, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, -183.13, 0.27, 186.16, 2, math.random(12, 22))
  27. MovementLoopAddLocation(NPC, -182.15, 0.25, 189.00, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.15, 0.26, 188.98, 2, math.random(12, 22))
  29. MovementLoopAddLocation(NPC, -182.19, 0.29, 186.44, 2, math.random(12, 22))
  30. MovementLoopAddLocation(NPC, -182.07, 0.48, 187.24, 2, 0)
  31. MovementLoopAddLocation(NPC, -183.28, 0.10, 193.95, 2, 0)
  32. end
  33. --------------------------------------------------------------------------------------
  34. -- NPC Change Grid
  35. --------------------------------------------------------------------------------------
  36. function changegrid_Going_Up(NPC)
  37. SetGridID(NPC, 1555937977)
  38. end
  39. function changegrid_Going_Down(NPC)
  40. SetGridID(NPC, 667331216)
  41. end