9
3

adiseasedratonga1586526.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586526.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586526.lua
  4. Script Author : Rylec
  5. Script Date : 09-28-2019 10:45:51
  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, -182.58, 0.04, 212.90, 2, math.random(12, 22))
  18. -- MovementLoopAddLocation(NPC, -182.49, 0.00, 212.00, 2, 0)
  19. MovementLoopAddLocation(NPC, -182.40, 0.00, 212.08, 2, math.random(12, 22))
  20. MovementLoopAddLocation(NPC, -178.75, 0.00, 214.75, 2, math.random(12, 22))
  21. MovementLoopAddLocation(NPC, -181.92, 0.00, 207.88, 2, math.random(12, 22), "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -182.53, 0.24, 199.33, 2, math.random(12, 22))
  23. MovementLoopAddLocation(NPC, -182.47, 0.00, 201.23, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.38, 0.00, 201.26, 2, math.random(12, 22))
  25. MovementLoopAddLocation(NPC, -180.52, 0.00, 213.99, 2, 0, "changegrid_Going_Up")
  26. MovementLoopAddLocation(NPC, -180.72, 0.03, 215.77, 2, 0)
  27. MovementLoopAddLocation(NPC, -180.81, 0.03, 215.79, 2, math.random(12, 22))
  28. MovementLoopAddLocation(NPC, -173.96, 0.00, 217.84, 2, math.random(12, 22))
  29. MovementLoopAddLocation(NPC, -180.90, 0.00, 214.18, 2, 0)
  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