Ubaj.lua 572 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/NorthFreeport/Ubaj.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.19 03:06:52
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. GenericEcologyHail(NPC, Spawn, faction)
  15. end
  16. function InRange(NPC,Spawn)
  17. GenericEcologyCallout(NPC, Spawn, faction)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end