asewagerat392420.lua 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392420.lua
  3. Script Purpose : Waypoint Path for asewagerat392420.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46: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, -182.46, 0.03, 212.85, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -180.72, 0.03, 215.65, 2, 0)
  19. MovementLoopAddLocation(NPC, -180.80, 0.03, 215.67, 2, math.random(10, 18))
  20. MovementLoopAddLocation(NPC, -177.88, 0.00, 215.69, 2, 0)
  21. MovementLoopAddLocation(NPC, -178.63, 0.00, 214.79, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -180.30, 0.00, 213.95, 2, math.random(10, 18))
  23. MovementLoopAddLocation(NPC, -178.52, 0.00, 214.98, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.52, 0.00, 214.98, 2, math.random(10, 18))
  25. MovementLoopAddLocation(NPC, -180.68, 0.32, 209.54, 2, 0, "changegrid_Going_Down")
  26. MovementLoopAddLocation(NPC, -182.40, 0.00, 207.89, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.85, 0.00, 210.71, 2, 0, "changegrid_Going_Up")
  28. MovementLoopAddLocation(NPC, -180.70, 0.00, 211.87, 2, math.random(10, 18))
  29. MovementLoopAddLocation(NPC, -182.20, 0.00, 207.88, 2, 0, "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -181.68, 0.02, 204.44, 2, 0)
  31. MovementLoopAddLocation(NPC, -181.51, 0.32, 202.75, 2, math.random(10, 18))
  32. MovementLoopAddLocation(NPC, -181.78, 0.00, 207.27, 2, 0)
  33. MovementLoopAddLocation(NPC, -178.12, 0.06, 213.91, 2, 0, "changegrid_Going_Up")
  34. MovementLoopAddLocation(NPC, -176.30, 0.01, 215.68, 2, 0)
  35. MovementLoopAddLocation(NPC, -175.94, 0.00, 216.62, 2, math.random(10, 18))
  36. MovementLoopAddLocation(NPC, -179.49, 0.00, 215.75, 2, 0)
  37. MovementLoopAddLocation(NPC, -179.50, 0.00, 215.76, 2, math.random(10, 18))
  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