9
3

asewagerat392406.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/asewagerat392406.lua
  3. Script Purpose : Waypoint Path for asewagerat392406.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 08:24:49
  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, -184.71, 0.08, 195.63, 2, math.random(10, 18))
  18. MovementLoopAddLocation(NPC, -183.65, 0.03, 192.88, 2, 0)
  19. MovementLoopAddLocation(NPC, -181.89, 0.00, 191.47, 2, math.random(10, 18))
  20. MovementLoopAddLocation(NPC, -182.47, 0.38, 187.96, 2, 0)
  21. MovementLoopAddLocation(NPC, -182.12, 0.00, 184.72, 2, 0, "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -182.13, 0.00, 184.70, 2, math.random(10, 18))
  23. MovementLoopAddLocation(NPC, -183.72, 0.04, 182.44, 2, math.random(10, 18))
  24. MovementLoopAddLocation(NPC, -180.15, 0.00, 182.81, 2, math.random(10, 18))
  25. MovementLoopAddLocation(NPC, -182.27, 0.48, 187.30, 2, 0, "changegrid_Going_Up")
  26. MovementLoopAddLocation(NPC, -184.93, 0.10, 191.71, 2, math.random(10, 18))
  27. MovementLoopAddLocation(NPC, -183.21, 0.00, 196.16, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.48, 0.04, 194.23, 2, 0)
  29. MovementLoopAddLocation(NPC, -183.22, 0.00, 190.98, 2, math.random(10, 18))
  30. end
  31. --------------------------------------------------------------------------------------
  32. -- NPC Change Grid
  33. --------------------------------------------------------------------------------------
  34. function changegrid_Going_Up(NPC)
  35. SetGridID(NPC, 1555937977)
  36. end
  37. function changegrid_Going_Down(NPC)
  38. SetGridID(NPC, 667331216)
  39. end