9
3

asewagerat392403.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392403.lua
  3. Script Purpose : Waypoint Path for asewagerat392403.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:51
  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, -179.49, 0.01, 213.19, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -180.01, 0.06, 212.02, 2, 0)
  19. MovementLoopAddLocation(NPC, -180.99, 0.05, 206.99, 2, 0, "changegrid_Going_Down")
  20. MovementLoopAddLocation(NPC, -181.02, 0.31, 204.27, 2, math.random(10, 18))
  21. MovementLoopAddLocation(NPC, -182.05, 0.00, 205.20, 2, 0)
  22. MovementLoopAddLocation(NPC, -180.00, 0.11, 210.98, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -177.09, 0.10, 214.31, 2, 0)
  24. MovementLoopAddLocation(NPC, -175.48, 0.00, 216.74, 2, 0)
  25. MovementLoopAddLocation(NPC, -173.02, 0.00, 217.75, 2, 0)
  26. MovementLoopAddLocation(NPC, -172.98, 0.00, 217.70, 2, math.random(10, 18))
  27. MovementLoopAddLocation(NPC, -173.52, 0.02, 216.00, 2, math.random(10, 18))
  28. MovementLoopAddLocation(NPC, -178.51, 0.04, 213.70, 2, 0)
  29. MovementLoopAddLocation(NPC, -180.14, 0.06, 211.77, 2, 0)
  30. MovementLoopAddLocation(NPC, -182.66, 0.00, 210.66, 2, 0)
  31. MovementLoopAddLocation(NPC, -182.65, 0.00, 210.67, 2, math.random(10, 18))
  32. MovementLoopAddLocation(NPC, -178.83, 0.00, 215.60, 2, math.random(10, 18))
  33. MovementLoopAddLocation(NPC, -180.01, 0.13, 210.82, 2, 0)
  34. MovementLoopAddLocation(NPC, -182.26, 0.00, 205.61, 2, 0, "changegrid_Going_Down")
  35. MovementLoopAddLocation(NPC, -182.57, 0.00, 201.86, 2, 0)
  36. MovementLoopAddLocation(NPC, -182.49, 0.00, 206.12, 2, 0)
  37. MovementLoopAddLocation(NPC, -178.67, 0.00, 214.67, 2, math.random(10, 18), "changegrid_Going_Up")
  38. end
  39. --------------------------------------------------------------------------------------
  40. -- NPC Change Grid
  41. --------------------------------------------------------------------------------------
  42. function changegrid_Going_Up(NPC)
  43. SetGridID(NPC, 3053675711)
  44. end
  45. function changegrid_Going_Down(NPC)
  46. SetGridID(NPC, 1555937977)
  47. end