atrashhopper393127.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/atrashhopper393127.lua
  3. Script Purpose : Waypoint Path for atrashhopper393127.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:26: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, -181.48, 0.00, 163.02, 2, math.random(8, 18))
  18. MovementLoopAddLocation(NPC, -181.51, 0.00, 164.02, 2, 0)
  19. MovementLoopAddLocation(NPC, -182.94, 0.00, 165.64, 2, math.random(8, 18))
  20. MovementLoopAddLocation(NPC, -182.74, 0.24, 160.80, 2, 0)
  21. MovementLoopAddLocation(NPC, -184.45, 0.12, 158.19, 2, math.random(8, 18))
  22. MovementLoopAddLocation(NPC, -183.48, 0.01, 156.24, 2, 0)
  23. MovementLoopAddLocation(NPC, -180.36, 0.13, 157.28, 2, math.random(8, 18))
  24. MovementLoopAddLocation(NPC, -182.04, 0.00, 161.96, 2, 0)
  25. MovementLoopAddLocation(NPC, -183.09, 0.00, 164.09, 2, math.random(8, 18))
  26. MovementLoopAddLocation(NPC, -182.54, 0.00, 167.65, 2, math.random(8, 18))
  27. MovementLoopAddLocation(NPC, -182.53, 0.00, 173.09, 2, 0, "changegrid_Going_Up")
  28. MovementLoopAddLocation(NPC, -182.51, 0.00, 173.12, 2, math.random(8, 18))
  29. MovementLoopAddLocation(NPC, -182.12, 0.00, 169.19, 2, 0, "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -182.27, 0.00, 165.04, 2, 0)
  31. end
  32. --------------------------------------------------------------------------------------
  33. -- NPC Change Grid
  34. --------------------------------------------------------------------------------------
  35. function changegrid_Going_Up(NPC)
  36. SetGridID(NPC, 667331216)
  37. end
  38. function changegrid_Going_Down(NPC)
  39. SetGridID(NPC, 3049532766)
  40. end