9
3

GilcirithElensar.lua 906 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Castleview/GilcirithElensar.lua
  3. Script Purpose : Gilcirith Elensar
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. if GetFactionAmount(Spawn,11) <0 then
  18. FactionChecking(NPC, Spawn, faction)
  19. else
  20. conversation = CreateConversation()
  21. -- PlayFlavor(NPC, "voiceover/english/tutorial_revamp/gilcirith_elensar/qey_village04/newbie_path_froglok/gilcirithelensar004.mp3", "", "", 259212641, 3674286430) Doesn't Play.
  22. GenericHail(NPC, Spawn)
  23. AddConversationOption(conversation, "Thank you.")
  24. StartConversation(conversation, NPC, Spawn, "Welcome, traveler.")
  25. end
  26. end