9
3

Fulb.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/Castleview/Fulb.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.29 04:10:26
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 705.76, -14.94, -151.09, 2, 1)
  22. MovementLoopAddLocation(NPC, 705.76, -14.94, -151.09, 2, 25,"Action")
  23. MovementLoopAddLocation(NPC, 707.19, -14.97, -150.49, 2, 0)
  24. MovementLoopAddLocation(NPC, 710.03, -16.16, -152.8, 2, 0)
  25. MovementLoopAddLocation(NPC, 713.93, -16.15, -155.36, 2, 0)
  26. MovementLoopAddLocation(NPC, 719.62, -16.16, -157.15, 2, 0)
  27. MovementLoopAddLocation(NPC, 725.64, -15.22, -156.79, 2, 0)
  28. MovementLoopAddLocation(NPC, 729.44, -15.19, -154.47, 2, 1)
  29. MovementLoopAddLocation(NPC, 730.62, -15.19, -155.33, 2, 25,"Action")
  30. MovementLoopAddLocation(NPC, 731.91, -15.18, -154.57, 2, 0)
  31. MovementLoopAddLocation(NPC, 733.46, -15.18, -152.58, 2, 0)
  32. MovementLoopAddLocation(NPC, 733.85, -15.18, -152.74, 2, 0)
  33. MovementLoopAddLocation(NPC, 737.51, -15.19, -158.29, 2, 0)
  34. MovementLoopAddLocation(NPC, 742.72, -15.2, -160.83, 2, 0)
  35. MovementLoopAddLocation(NPC, 752.12, -15.24, -166.5, 2, 0)
  36. MovementLoopAddLocation(NPC, 756.77, -15.51, -166.06, 2, 0)
  37. MovementLoopAddLocation(NPC, 765.11, -18.95, -166.16, 2, 0)
  38. MovementLoopAddLocation(NPC, 776.09, -17.39, -166.72, 2, 0)
  39. MovementLoopAddLocation(NPC, 777.52, -17.39, -166.86, 2, 0)
  40. MovementLoopAddLocation(NPC, 788.3, -17.43, -168.18, 2, 1)
  41. MovementLoopAddLocation(NPC, 788.3, -17.43, -168.18, 2, 25,"Action")
  42. MovementLoopAddLocation(NPC, 787.14, -17.39, -166.33, 2, 0)
  43. MovementLoopAddLocation(NPC, 777.52, -17.39, -165.32, 2, 0)
  44. MovementLoopAddLocation(NPC, 765.38, -18.97, -164.67, 2, 0)
  45. MovementLoopAddLocation(NPC, 755.03, -15.22, -164.72, 2, 0)
  46. MovementLoopAddLocation(NPC, 748.06, -15.19, -161.42, 2, 0)
  47. MovementLoopAddLocation(NPC, 742.78, -15.18, -158.9, 2, 0)
  48. MovementLoopAddLocation(NPC, 736.67, -15.19, -157.62, 2, 0)
  49. MovementLoopAddLocation(NPC, 732.39, -15.2, -157.03, 2, 0)
  50. MovementLoopAddLocation(NPC, 720.91, -16.13, -163.28, 2, 1)
  51. MovementLoopAddLocation(NPC, 720.91, -16.13, -163.28, 2, 25,"Action")
  52. MovementLoopAddLocation(NPC, 720.17, -16.13, -163.37, 2, 0)
  53. MovementLoopAddLocation(NPC, 716.58, -16.17, -157.54, 2, 0)
  54. MovementLoopAddLocation(NPC, 709.96, -15.26, -149.86, 2, 0)
  55. MovementLoopAddLocation(NPC, 708.61, -14.96, -148.65, 2, 0)
  56. MovementLoopAddLocation(NPC, 705.51, -14.95, -150.67, 2, 0)
  57. end