9
3

KaelarriIvyshae.lua 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/KaelarriIvyshae.lua
  3. Script Purpose : Kaelarri Ivyshae
  4. Script Author : Devn00b
  5. Script Date : 04/10/2020 02:29:10 PM
  6. Script Notes : Locations collected from Live - Dialogue update 05.01.2022 Dorbin
  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 respawn(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, 649.78, -17.86, -205.23, 2, math.random(0,8))
  24. MovementLoopAddLocation(NPC, 648.62, -18.52, -254.29, 2, math.random(0,8))
  25. MovementLoopAddLocation(NPC, 652.62, -21.7, -293.3, 2, math.random(0,8))
  26. MovementLoopAddLocation(NPC, 652.1, -21.9, -302.8, 2, math.random(0,8))
  27. MovementLoopAddLocation(NPC, 639.36, -20.31, -310.61, 2, math.random(0,8))
  28. MovementLoopAddLocation(NPC, 608.37, -20.8, -313.51, 2, math.random(0,8))
  29. MovementLoopAddLocation(NPC, 550.27, -21.46, -312.73, 2, math.random(0,8))
  30. MovementLoopAddLocation(NPC, 537.88, -20.8, -297.38, 2, math.random(0,8))
  31. MovementLoopAddLocation(NPC, 576.67, -20.63, -261.1, 2, math.random(0,8))
  32. MovementLoopAddLocation(NPC, 591.64, -21.03, -254.6, 2, math.random(0,8))
  33. MovementLoopAddLocation(NPC, 576.67, -20.63, -261.1, 2, math.random(0,8))
  34. MovementLoopAddLocation(NPC, 537.88, -20.8, -297.38, 2, math.random(0,8))
  35. MovementLoopAddLocation(NPC, 550.27, -21.46, -312.73, 2, math.random(0,8))
  36. MovementLoopAddLocation(NPC, 608.37, -20.8, -313.51, 2, math.random(0,8))
  37. MovementLoopAddLocation(NPC, 639.36, -20.31, -310.61, 2, math.random(0,8))
  38. MovementLoopAddLocation(NPC, 652.1, -21.9, -302.8, 2, math.random(0,8))
  39. MovementLoopAddLocation(NPC, 652.62, -21.7, -293.3, 2, math.random(0,8))
  40. MovementLoopAddLocation(NPC, 648.62, -18.52, -254.29, 2, math.random(0,8))
  41. MovementLoopAddLocation(NPC, 649.78, -17.86, -205.23, 2, math.random(0,8))
  42. end