ToraShadyleaf.lua 518 B

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