EmissaryMidia.lua 536 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Freeport/EmissaryMidia.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.05.01 07:05:14
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange", Spawn)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function InRange(NPC, Spawn)
  18. PlayFlavor(NPC, "", "Only those truly loyal to the Overlord need to speak to me!", "", 0, 0, Spawn)
  19. end