9
3

BellaStrohn.lua 592 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/BellaStrohn.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.20 08:06:59
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 5, "InRange", "LeaveRange")
  11. end
  12. function hailed(NPC, Spawn)
  13. GenericEcologyHail(NPC,Spawn,faction)
  14. end
  15. function InRange(NPC,Spawn)
  16. local Qfaction = GetFactionAmount(Spawn,11)
  17. if Qfaction < 0 then
  18. FactionCheckingCallout(NPC, Spawn, faction)
  19. end
  20. end