9
3

adiseasedratonga391907.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391907.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391907.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:34
  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, -172.82, 0.00, 216.65, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -175.14, 0.08, 215.32, 2, 0)
  19. MovementLoopAddLocation(NPC, -180.56, 0.35, 209.18, 2, 0, "changegrid_Going_Down")
  20. MovementLoopAddLocation(NPC, -182.56, 0.00, 203.06, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -182.41, 0.24, 209.15, 2, 0)
  22. MovementLoopAddLocation(NPC, -181.55, 0.00, 211.88, 2, math.random(12, 22), "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -182.82, 0.24, 209.24, 2, math.random(12, 22), "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -182.16, 0.02, 213.20, 2, math.random(12, 22), "changegrid_Going_Up")
  25. MovementLoopAddLocation(NPC, -181.47, 0.07, 215.05, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, -180.58, 0.00, 212.93, 2, 0)
  27. MovementLoopAddLocation(NPC, -180.60, 0.00, 212.89, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, -182.74, 0.00, 201.60, 2, 0, "changegrid_Going_Down")
  29. MovementLoopAddLocation(NPC, -182.75, 0.00, 206.95, 2, math.random(12, 22))
  30. MovementLoopAddLocation(NPC, -179.15, 0.11, 212.20, 2, 0, "changegrid_Going_Up")
  31. end
  32. --------------------------------------------------------------------------------------
  33. -- NPC Change Grid
  34. --------------------------------------------------------------------------------------
  35. function changegrid_Going_Up(NPC)
  36. SetGridID(NPC, 3053675711)
  37. end
  38. function changegrid_Going_Down(NPC)
  39. SetGridID(NPC, 1555937977)
  40. end