asewagerat392408.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392408.lua
  3. Script Purpose : Waypoint Path for asewagerat392408.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 03:17:55
  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.71, 0.00, 165.51, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -181.96, 0.00, 164.74, 2, 0)
  19. MovementLoopAddLocation(NPC, -181.53, 0.00, 159.17, 2, 0)
  20. MovementLoopAddLocation(NPC, -181.56, 0.00, 159.05, 2, math.random(10, 18))
  21. MovementLoopAddLocation(NPC, -182.58, 0.00, 156.38, 2, math.random(10, 18))
  22. MovementLoopAddLocation(NPC, -182.04, 0.24, 170.61, 2, 0)
  23. MovementLoopAddLocation(NPC, -181.31, 0.00, 172.30, 2, math.random(10, 18), "changegrid_Going_Up")
  24. MovementLoopAddLocation(NPC, -183.76, 0.04, 174.48, 2, math.random(10, 18))
  25. MovementLoopAddLocation(NPC, -182.60, 0.24, 170.76, 2, 0, "changegrid_Going_Down")
  26. MovementLoopAddLocation(NPC, -182.82, 0.00, 164.42, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.01, 0.05, 169.07, 2, 0)
  28. MovementLoopAddLocation(NPC, -181.92, 0.00, 173.26, 2, math.random(10, 18), "changegrid_Going_Up")
  29. MovementLoopAddLocation(NPC, -182.13, 0.00, 169.28, 2, 0, "changegrid_Going_Down")
  30. MovementLoopAddLocation(NPC, -181.41, 0.01, 166.43, 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