ElectraJventius.lua 558 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/ElectraJventius.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 07:06:13
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 5, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC,Spawn)
  15. GenericRaceCheckHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn, faction)
  19. end