9
3

asewagerat392407.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392407.lua
  3. Script Purpose : Waypoint Path for asewagerat392407.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:17:50
  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.55, 0.24, 160.51, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -184.25, 0.09, 172.81, 2, math.random(10, 18), "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -183.28, 0.00, 168.84, 2, 0, "changegrid_Going_Down")
  20. MovementLoopAddLocation(NPC, -183.37, 0.00, 164.54, 2, 0)
  21. MovementLoopAddLocation(NPC, -182.53, 0.00, 162.14, 2, 0)
  22. MovementLoopAddLocation(NPC, -182.57, 0.00, 169.51, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.57, 0.00, 169.49, 2, math.random(10, 18))
  24. MovementLoopAddLocation(NPC, -182.55, 0.00, 166.63, 2, 0)
  25. MovementLoopAddLocation(NPC, -181.98, 0.00, 164.96, 2, 0)
  26. MovementLoopAddLocation(NPC, -181.49, 0.00, 162.65, 2, math.random(10, 18))
  27. MovementLoopAddLocation(NPC, -181.64, 0.00, 164.79, 2, 0)
  28. MovementLoopAddLocation(NPC, -183.41, 0.00, 167.36, 2, 0)
  29. MovementLoopAddLocation(NPC, -183.11, 0.00, 162.29, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.69, 0.00, 157.66, 2, math.random(10, 18))
  31. MovementLoopAddLocation(NPC, -181.99, 0.23, 160.08, 2, 0)
  32. MovementLoopAddLocation(NPC, -181.87, 0.24, 170.24, 2, 0)
  33. MovementLoopAddLocation(NPC, -181.11, 0.00, 172.24, 2, math.random(10, 18), "changegrid_Going_Up")
  34. MovementLoopAddLocation(NPC, -181.84, 0.24, 170.23, 2, 0, "changegrid_Going_Down")
  35. MovementLoopAddLocation(NPC, -183.20, 0.00, 163.39, 2, 0)
  36. MovementLoopAddLocation(NPC, -184.52, 0.13, 158.97, 2, math.random(10, 18))
  37. MovementLoopAddLocation(NPC, -180.74, 0.32, 160.60, 2, math.random(10, 18))
  38. end
  39. --------------------------------------------------------------------------------------
  40. -- NPC Change Grid
  41. --------------------------------------------------------------------------------------
  42. function changegrid_Going_Up(NPC)
  43. SetGridID(NPC, 667331216)
  44. end
  45. function changegrid_Going_Down(NPC)
  46. SetGridID(NPC, 3049532766)
  47. end