AssistantHeckinfez.lua 624 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/AssistantHeckinfez.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.11 05:06:18
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  11. SetInfoStructString(NPC, "action_state", "woodworking_idle")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcology2Hail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcology2Callout(NPC, Spawn, faction)
  19. end