adiseasedratonga391877.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391877.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391877.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:46:43
  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, -180.72, 0.08, 207.53, 2, math.random(12, 22), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -177.97, 0.06, 214.06, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -170.40, 0.00, 217.80, 2, math.random(12, 22))
  20. MovementLoopAddLocation(NPC, -169.11, 0.00, 216.51, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -175.36, 0.00, 217.77, 2, 0)
  22. MovementLoopAddLocation(NPC, -175.35, 0.00, 217.67, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, -175.94, 0.00, 216.22, 2, 0)
  24. MovementLoopAddLocation(NPC, -177.37, 0.03, 214.98, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, -182.42, 0.04, 213.10, 2, 0)
  26. MovementLoopAddLocation(NPC, -182.42, 0.04, 213.07, 2, math.random(12, 22))
  27. MovementLoopAddLocation(NPC, -183.68, 0.26, 209.30, 2, math.random(12, 22), "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -174.86, 0.00, 217.60, 2, math.random(12, 22), "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -182.54, 0.08, 213.82, 2, math.random(12, 22))
  30. end
  31. --------------------------------------------------------------------------------------
  32. -- NPC Change Grid
  33. --------------------------------------------------------------------------------------
  34. function changegrid_Going_Up(NPC)
  35. SetGridID(NPC, 3053675711)
  36. end
  37. function changegrid_Going_Down(NPC)
  38. SetGridID(NPC, 1555937977)
  39. end