9
3

ASewerSlime391945.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/ASewerSlime391945.lua
  3. Script Purpose : Waypoint Path for ASewerSlime391945.lua
  4. Script Author : Rylec
  5. Script Date : 10-05-2019 08:24:57
  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.22, 0.00, 184.69, 2, math.random(10, 22), "changegrid_Going_Down")
  18. MovementLoopAddLocation(NPC, -183.04, 0.27, 186.09, 2, 0, "changegrid_Going_Up")
  19. MovementLoopAddLocation(NPC, -183.06, 0.00, 195.50, 2, 0)
  20. MovementLoopAddLocation(NPC, -183.09, 0.00, 195.48, 2, math.random(10, 22))
  21. MovementLoopAddLocation(NPC, -182.26, 0.00, 194.31, 2, 0)
  22. MovementLoopAddLocation(NPC, -182.20, 0.00, 193.31, 2, math.random(10, 22))
  23. MovementLoopAddLocation(NPC, -183.00, 0.45, 187.76, 2, 0)
  24. MovementLoopAddLocation(NPC, -183.74, 0.28, 186.34, 2, 0)
  25. end
  26. --------------------------------------------------------------------------------------
  27. -- NPC Change Grid
  28. --------------------------------------------------------------------------------------
  29. function changegrid_Going_Up(NPC)
  30. SetGridID(NPC, 1555937977)
  31. end
  32. function changegrid_Going_Down(NPC)
  33. SetGridID(NPC, 667331216)
  34. end