FalinShaloon.lua 531 B

12345678910111213141516171819
  1. function spawn(NPC)
  2. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  3. end
  4. function hailed(NPC, Spawn)
  5. FaceTarget(NPC, Spawn)
  6. local conversation = CreateConversation()
  7. AddConversationOption(conversation, "I'll be on my way. ")
  8. StartConversation(conversation, NPC, Spawn, "Buy something or be on your way! I don't have time to chat with the likes of you...")
  9. end
  10. function InRange(NPC, Spawn)
  11. Say(NPC,"If I don't have what you want, you don't need it!")
  12. end
  13. function LeaveRange(NPC, Spawn)
  14. end