MarcusPuer.lua 724 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/SerpentSewer/MarcusPuer.lua
  3. Script Author : premierio015
  4. Script Date : 2020.06.16 01:06:52
  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. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "voiceover/english/marcus_puer/fprt_sewer02/quests/020_quest_marcus_puer_aoicallout02_1f18e638.mp3", "Just who I was looking for! Come here, come here!", "", 2970554527, 4254211908, Spawn)
  20. end
  21. function LeaveRange(NPC, Spawn)
  22. end