9
3

SergeantBorus.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/SergeantBorus.lua
  3. Script Author : neatz09
  4. Script Date : 2021.03.01 06:03:40
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local conversation = CreateConversation()
  14. AddConversationOption(conversation, "I don't like the sound of that.")
  15. StartConversation(conversation, NPC, Spawn, "You look useful. How about lending the Militia a hand? Or do you need a direct order handed down from the Overlord himself?")
  16. PlayFlavor(NPC, "voiceover/english/optional1/sergeant_borus/commonlands/quests/sergeant_borus/sergeant_borus001.mp3", "", "", 4199930878, 3636034359)
  17. end
  18. function InRange(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. PlayFlavor(NPC, "voiceover/english/optional1/sergeant_borus/commonlands/quest/025_quest_sergeant_borus_callout_7172904d.mp3", "You best watch your step out here!", "", 2964203478, 4275145223, Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end