TymatIronnose.lua 611 B

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