9
3

patricia.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : patricia.lua
  3. Script Purpose : Waypoint Path for patricia.lua
  4. Script Author : Devn00b
  5. Script Date : 04/12/2020 11:44:25 AM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. Dialog1(NPC, Spawn)
  17. end
  18. function Dialog1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. Dialog.New(NPC, Spawn)
  21. Dialog.AddDialog("Sorry, I can't visit right now. Too much work to do around the Ironforge estate.")
  22. Dialog.AddVoiceover("voiceover/english/maid_patricia/qey_north/maidpatricia.mp3", 604188416, 2120509442)
  23. Dialog.AddOption("I understand.")
  24. Dialog.Start()
  25. end
  26. function waypoints(NPC)
  27. MovementLoopAddLocation(NPC, 424.07, -20.43, -326.34, 2, 30)
  28. MovementLoopAddLocation(NPC, 426.93, -20.52, -310.88, 2, 30)
  29. MovementLoopAddLocation(NPC, 477.09, -19.67, -292.41, 2, 30)
  30. MovementLoopAddLocation(NPC, 464.39, -20.19, -309.44, 2, 30)
  31. MovementLoopAddLocation(NPC, 485.71, -20.43, -310.97, 2, 30)
  32. MovementLoopAddLocation(NPC, 473.28, -20.55, -319.93, 2, 30)
  33. MovementLoopAddLocation(NPC, 466.2, -19.66, -346.58, 2, 30)
  34. MovementLoopAddLocation(NPC, 448.72, -20.33, -319.51, 2, 30)
  35. MovementLoopAddLocation(NPC, 425.26, -20.44, -329.69, 2, 30)
  36. MovementLoopAddLocation(NPC, 448.72, -20.33, -319.51, 2, 30)
  37. MovementLoopAddLocation(NPC, 466.2, -19.66, -346.58, 2, 30)
  38. MovementLoopAddLocation(NPC, 473.28, -20.55, -319.93, 2, 30)
  39. MovementLoopAddLocation(NPC, 485.71, -20.43, -310.97, 2, 30)
  40. MovementLoopAddLocation(NPC, 464.39, -20.19, -309.44, 2, 30)
  41. MovementLoopAddLocation(NPC, 477.09, -19.67, -292.41, 2, 30)
  42. MovementLoopAddLocation(NPC, 426.93, -20.52, -310.88, 2, 30)
  43. MovementLoopAddLocation(NPC, 424.07, -20.43, -326.34, 2, 30)
  44. end