9
3

adiseasedratonga391869.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391869.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391869.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 09:22:32
  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, -183.24, 0.27, 186.08, 2, math.random(12, 22))
  18. MovementLoopAddLocation(NPC, -182.28, 0.25, 188.99, 2, 0)
  19. MovementLoopAddLocation(NPC, -183.23, 0.00, 195.64, 2, 0)
  20. MovementLoopAddLocation(NPC, -183.25, 0.00, 195.63, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -181.84, 0.48, 187.42, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -182.75, 0.27, 188.65, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, -183.04, 0.00, 195.52, 2, math.random(12, 22))
  24. MovementLoopAddLocation(NPC, -182.31, 0.00, 195.79, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.35, 0.00, 195.73, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, -182.16, 0.00, 183.17, 2, math.random(12, 22), "changegrid_Going_Down")
  27. MovementLoopAddLocation(NPC, -183.10, 0.00, 196.62, 2, math.random(12, 22), "changegrid_Going_Up")
  28. end
  29. --------------------------------------------------------------------------------------
  30. -- NPC Change Grid
  31. --------------------------------------------------------------------------------------
  32. function changegrid_Going_Up(NPC)
  33. SetGridID(NPC, 1555937977)
  34. end
  35. function changegrid_Going_Down(NPC)
  36. SetGridID(NPC, 667331216)
  37. end