9
3

atrashhopper393124.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393124.lua
  3. Script Purpose : Waypoint Path for atrashhopper393124.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 08:25:22
  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, -182.18, 0.00, 192.22, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -182.29, 0.00, 194.80, 2, 0)
  19. MovementLoopAddLocation(NPC, -183.20, 0.00, 196.80, 2, math.random(8, 18))
  20. MovementLoopAddLocation(NPC, -183.24, 0.00, 193.23, 2, 0)
  21. MovementLoopAddLocation(NPC, -181.73, 0.37, 188.02, 2, 0)
  22. MovementLoopAddLocation(NPC, -182.43, 0.00, 184.31, 2, math.random(8, 18), "changegrid_Going_Down")
  23. MovementLoopAddLocation(NPC, -181.96, 0.48, 187.30, 2, 0, "changegrid_Going_Up")
  24. MovementLoopAddLocation(NPC, -182.51, 0.27, 188.78, 2, 0)
  25. MovementLoopAddLocation(NPC, -181.94, 0.00, 191.18, 2, math.random(8, 18))
  26. MovementLoopAddLocation(NPC, -182.24, 0.00, 195.59, 2, 0)
  27. MovementLoopAddLocation(NPC, -182.23, 0.00, 195.63, 2, math.random(8, 18))
  28. MovementLoopAddLocation(NPC, -181.84, 0.00, 197.84, 2, 0)
  29. MovementLoopAddLocation(NPC, -183.65, 0.12, 194.02, 2, 0)
  30. MovementLoopAddLocation(NPC, -183.24, 0.00, 191.06, 2, math.random(8, 18))
  31. MovementLoopAddLocation(NPC, -182.59, 0.00, 191.75, 2, 0)
  32. MovementLoopAddLocation(NPC, -182.15, 0.00, 192.65, 2, math.random(8, 18))
  33. MovementLoopAddLocation(NPC, -183.17, 0.00, 196.55, 2, math.random(8, 18))
  34. MovementLoopAddLocation(NPC, -181.95, 0.00, 190.66, 2, 0)
  35. MovementLoopAddLocation(NPC, -182.70, 0.37, 186.85, 2, 0)
  36. MovementLoopAddLocation(NPC, -182.15, 0.00, 184.98, 2, math.random(8, 18), "changegrid_Going_Down")
  37. MovementLoopAddLocation(NPC, -182.25, 0.00, 190.78, 2, math.random(8, 18), "changegrid_Going_Up")
  38. end
  39. --------------------------------------------------------------------------------------
  40. -- NPC Change Grid
  41. --------------------------------------------------------------------------------------
  42. function changegrid_Going_Up(NPC)
  43. SetGridID(NPC, 1555937977)
  44. end
  45. function changegrid_Going_Down(NPC)
  46. SetGridID(NPC, 667331216)
  47. end