asewagerat392405.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392405.lua
  3. Script Purpose : Waypoint Path for asewagerat392405.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 08:24:42
  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.14, 0.00, 191.95, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -182.12, 0.26, 188.85, 2, math.random(10, 18))
  19. MovementLoopAddLocation(NPC, -181.60, 0.31, 186.65, 2, 0)
  20. MovementLoopAddLocation(NPC, -182.34, 0.00, 190.71, 2, 0)
  21. MovementLoopAddLocation(NPC, -183.11, 0.00, 191.73, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -183.23, 0.28, 188.58, 2, 0)
  23. MovementLoopAddLocation(NPC, -182.30, 0.00, 184.38, 2, 0, "changegrid_Going_Down")
  24. MovementLoopAddLocation(NPC, -181.93, 0.00, 191.35, 2, 0, "changegrid_Going_Up")
  25. MovementLoopAddLocation(NPC, -182.41, 0.10, 193.89, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.28, 0.00, 197.35, 2, 0)
  27. MovementLoopAddLocation(NPC, -182.08, 0.00, 194.62, 2, math.random(10, 18))
  28. MovementLoopAddLocation(NPC, -183.11, 0.00, 191.36, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.58, 0.45, 187.75, 2, 0)
  30. MovementLoopAddLocation(NPC, -183.59, 0.02, 183.60, 2, math.random(10, 18), "changegrid_Going_Down")
  31. MovementLoopAddLocation(NPC, -182.46, 0.42, 187.02, 2, 0, "changegrid_Going_Up")
  32. MovementLoopAddLocation(NPC, -182.75, 0.00, 191.13, 2, math.random(10, 18))
  33. MovementLoopAddLocation(NPC, -184.51, 0.10, 191.92, 2, 0)
  34. MovementLoopAddLocation(NPC, -185.07, 0.10, 192.04, 2, math.random(10, 18))
  35. MovementLoopAddLocation(NPC, -183.82, 0.05, 192.64, 2, 0)
  36. end
  37. --------------------------------------------------------------------------------------
  38. -- NPC Change Grid
  39. --------------------------------------------------------------------------------------
  40. function changegrid_Going_Up(NPC)
  41. SetGridID(NPC, 1555937977)
  42. end
  43. function changegrid_Going_Down(NPC)
  44. SetGridID(NPC, 667331216)
  45. end