CruNaseto.lua 709 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : CruNaseto-Say.lua
  3. Script Purpose : Cru Naseto
  4. Script Author : Jabantiz
  5. Script Date : 08/29/2019
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner, Say()'s ONLY
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 15, "InRange", "", Spawn)
  11. end
  12. function InRange(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. PlayFlavor(NPC, "", "You look like you could beat ol' Chon's record. Care to give it a try?", "beckon", 1689589577, 4560189, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function hailed(NPC, Spawn)
  20. Say(NPC, "Come back later. You look like a good runner.", Spawn)
  21. end