EnforcerDrulk.lua 966 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/BigBend/EnforcerDrulk.lua
  3. Script Purpose : Enforcer Drulk
  4. Script Author : torsten
  5. Script Date : 2022.07.13
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1002.mp3", 0, 0, Spawn)
  21. end
  22. if choice == 2 then
  23. Dialog1(NPC, Spawn)
  24. end
  25. end
  26. function Dialog1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("What do you want, little one?")
  30. Dialog.AddVoiceover("enforcer_drulk/fprt_hood1/quests/dreadnaught_drulk001.mp3", 1553522469, 3808275354)
  31. Dialog.AddOption("Nothing.")
  32. Dialog.Start()
  33. end