Anikra.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/FarJourneyFreeport/Anikra.lua
  3. Script Author : Ememjr
  4. Script Date : 2019.05.11 03:05:38
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. goblin = GetSpawn(NPC, 270008)
  13. if goblin == nil or IsAlive(goblin) == false then
  14. FaceTarget(NPC, Spawn)
  15. choice = math.random(1, 2)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "voiceover/english/anikra/boat_06p_tutorial02_fvo_001.mp3", "Thanks for saving me", "thanks", 3802219844, 3242323771)
  18. else
  19. PlayFlavor(NPC, "voiceover/english/anikra/boat_06p_tutorial02/anikra_0_003.mp3", "I don't know how I did that. What was that?", "boggle", 927876289, 3048340606)
  20. end
  21. else
  22. PlayFlavor(NPC, "voiceover/english/anikra/boat_06p_tutorial02_fvo_002.mp3", "I really miss my husband. Why did those smugglers have to throw him overboard?", "sigh", 1493499523, 2767493059)
  23. end
  24. end
  25. --[[
  26. function callDrake(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Say(NPC,"I have made it past FaceTarget")
  29. local drake = GetSpawn(Spawn, 270013)
  30. Say(NPC, "I have set the local drake to the spawn id")
  31. Say(NPC, "Test " .. drake)
  32. SpawnSet(drake, "visual_state", 10783)
  33. end
  34. ]]--
  35. function respawn(NPC)
  36. end