adistressedmerchant.lua 769 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/Antonica/adistressedmerchant.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.12 08:08:09
  5. Script Purpose :
  6. Note : Added VO - 07.23.2022 Dorbin
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 15, "InRange")
  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/optional1/a_distressed_merchant/antonica/oop_merchants/old_female_actor_call_out_43d00e89.mp3", "I beg of you to help me. These foul beasts have blocked off my escape. Help me out and I'll help you in return.", "flustered", 2005296554, 1864692692, Spawn, 0)
  20. end