9
3

asewagerat392431.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392431.lua
  3. Script Purpose : Waypoint Path for asewagerat392431.lua
  4. Script Author : Rylec
  5. Script Date : 10-17-2019 04:44:29
  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, -170.61, 0.00, 90.11, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -171.99, 0.05, 90.20, 2, 0)
  19. MovementLoopAddLocation(NPC, -173.85, 0.11, 91.68, 2, 0)
  20. MovementLoopAddLocation(NPC, -175.31, 0.29, 92.16, 2, 0, "changegrid_Going_Up")
  21. MovementLoopAddLocation(NPC, -176.76, 0.22, 93.34, 2, 0)
  22. MovementLoopAddLocation(NPC, -178.23, 0.12, 93.96, 2, 0)
  23. MovementLoopAddLocation(NPC, -181.60, 0.04, 97.68, 2, math.random(10, 18))
  24. MovementLoopAddLocation(NPC, -178.74, 0.05, 92.00, 2, 0)
  25. MovementLoopAddLocation(NPC, -178.14, 0.05, 91.24, 2, math.random(10, 18))
  26. MovementLoopAddLocation(NPC, -179.97, 0.05, 93.35, 2, math.random(10, 18))
  27. MovementLoopAddLocation(NPC, -173.60, 0.07, 91.22, 2, 0, "changegrid_Going_Down")
  28. MovementLoopAddLocation(NPC, -172.09, 0.05, 91.03, 2, math.random(10, 18))
  29. MovementLoopAddLocation(NPC, -172.97, 0.05, 91.03, 2, 0)
  30. MovementLoopAddLocation(NPC, -181.47, 0.05, 93.33, 2, math.random(10, 18), "changegrid_Going_Up")
  31. MovementLoopAddLocation(NPC, -176.87, 0.05, 91.72, 2, 0)
  32. MovementLoopAddLocation(NPC, -173.65, 0.07, 91.30, 2, 0, "changegrid_Going_Down")
  33. MovementLoopAddLocation(NPC, -172.30, 0.05, 90.46, 2, 0)
  34. end
  35. --------------------------------------------------------------------------------------
  36. -- NPC Change Grid
  37. --------------------------------------------------------------------------------------
  38. function changegrid_Going_Up(NPC)
  39. SetGridID(NPC, 3049532766)
  40. end
  41. function changegrid_Going_Down(NPC)
  42. SetGridID(NPC, 3438300428)
  43. end