SentryActon.lua 953 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Antonica/SentryActon.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.05.09 12:05:14
  5. Script Purpose :
  6. :
  7. --]]
  8. local greetingsTable = { "voiceover/english/voice_emotes/greetings/greetings_1_1034.mp3",
  9. "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3",
  10. "voiceover/english/voice_emotes/greetings/greetings_3_1034.mp3"};
  11. function spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. PlayFlavor(NPC, greetingsTable[math.random(#greetingsTable)], "", "", 0, 0, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. local conversation = CreateConversation()
  17. AddConversationOption(conversation, "Thanks for the advice!")
  18. StartConversation(conversation, NPC, Spawn, "Watch yourself out here. All kinds of bad things can happen - never know when a gnoll might sneak up behind ya and ... GRAB ya!")
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end