9
3

ASewerSlime391946.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391946.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391946.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 08:25:00
  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.15, 0.42, 187.84, 2, math.random(10, 22), "changegrid_Going_Up")
  18. MovementLoopAddLocation(NPC, -183.04, 0.27, 188.89, 2, 0)
  19. MovementLoopAddLocation(NPC, -183.21, 0.00, 191.38, 2, math.random(10, 22))
  20. MovementLoopAddLocation(NPC, -182.87, 0.11, 189.58, 2, 0)
  21. MovementLoopAddLocation(NPC, -183.18, 0.00, 183.92, 2, 0, "changegrid_Going_Down")
  22. MovementLoopAddLocation(NPC, -182.50, 0.82, 186.72, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -182.41, 0.01, 191.01, 2, 0)
  24. MovementLoopAddLocation(NPC, -182.44, 0.00, 192.31, 2, 0)
  25. MovementLoopAddLocation(NPC, -182.46, 0.00, 192.32, 2, math.random(10, 22))
  26. MovementLoopAddLocation(NPC, -182.01, 0.33, 188.15, 2, 0)
  27. MovementLoopAddLocation(NPC, -181.97, 0.28, 186.38, 2, 0)
  28. MovementLoopAddLocation(NPC, -182.00, 0.00, 184.16, 2, math.random(10, 22), "changegrid_Going_Down")
  29. end
  30. --------------------------------------------------------------------------------------
  31. -- NPC Change Grid
  32. --------------------------------------------------------------------------------------
  33. function changegrid_Going_Up(NPC)
  34. SetGridID(NPC, 1555937977)
  35. end
  36. function changegrid_Going_Down(NPC)
  37. SetGridID(NPC, 667331216)
  38. end