ocoggin.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : ocoggin.lua
  3. Script Purpose : Waypoint Path for ocoggin.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 06:22:22 PM
  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. local choice = math.random(1,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/gnome_eco_race_good/ft/eco/good/gnome_eco_race_good_hail_gf_39da4f6d.mp3", "Cheers and boggle chippers to you!", "", 3143145827, 3768593316, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/gnome_eco_race_good/ft/eco/good/gnome_eco_race_good_barbarian_gf_68486376.mp3", "Watch your step, you rusty-pated, slow-witted, half-turned knob on a cognizoid! Can't you see I'm busy?", "", 2020911566, 1624319994, Spawn)
  18. else
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 454.21, -11.27, 119.32, 2, 0)
  26. MovementLoopAddLocation(NPC, 462.96, -11.34, 117.26, 2, 0)
  27. MovementLoopAddLocation(NPC, 473.17, -11.51, 115.77, 2, 0)
  28. MovementLoopAddLocation(NPC, 481.48, -11.52, 116.12, 2, 0)
  29. MovementLoopAddLocation(NPC, 483.61, -11.53, 117.36, 2, 0)
  30. MovementLoopAddLocation(NPC, 487.02, -11.53, 120.96, 2, 0)
  31. MovementLoopAddLocation(NPC, 488.53, -11.53, 125.73, 2, 0)
  32. MovementLoopAddLocation(NPC, 487.84, -11.52, 130.97, 2, 0)
  33. MovementLoopAddLocation(NPC, 486.34, -11.5, 136.27, 2, 0)
  34. MovementLoopAddLocation(NPC, 486.77, -11.42, 140.74, 2, 0)
  35. MovementLoopAddLocation(NPC, 491.78, -11.49, 143.11, 2, 0)
  36. MovementLoopAddLocation(NPC, 496.37, -11.77, 144.14, 2, 0)
  37. MovementLoopAddLocation(NPC, 541.07, -10.47, 150.54, 2, 0)
  38. MovementLoopAddLocation(NPC, 622.68, -12.29, 146.78, 2, 0)
  39. MovementLoopAddLocation(NPC, 541.07, -10.47, 150.54, 2, 0)
  40. MovementLoopAddLocation(NPC, 496.37, -11.77, 144.14, 2, 0)
  41. MovementLoopAddLocation(NPC, 491.78, -11.49, 143.11, 2, 0)
  42. MovementLoopAddLocation(NPC, 486.77, -11.42, 140.74, 2, 0)
  43. MovementLoopAddLocation(NPC, 486.34, -11.5, 136.27, 2, 0)
  44. MovementLoopAddLocation(NPC, 487.84, -11.52, 130.97, 2, 0)
  45. MovementLoopAddLocation(NPC, 488.53, -11.53, 125.73, 2, 0)
  46. MovementLoopAddLocation(NPC, 487.02, -11.53, 120.96, 2, 0)
  47. MovementLoopAddLocation(NPC, 483.61, -11.53, 117.36, 2, 0)
  48. MovementLoopAddLocation(NPC, 481.48, -11.52, 116.12, 2, 0)
  49. MovementLoopAddLocation(NPC, 473.17, -11.51, 115.77, 2, 0)
  50. MovementLoopAddLocation(NPC, 462.96, -11.34, 117.26, 2, 0)
  51. MovementLoopAddLocation(NPC, 454.21, -11.27, 119.32, 2, 0)
  52. end