12345678910111213141516171819202122232425262728293031 |
- --[[
- Script Name : SpawnScripts/Castleview/GilcirithElensar.lua
- Script Purpose : Gilcirith Elensar
- Script Author : Scatman
- Script Date : 2009.10.03
- Script Notes :
- --]]
- dofile("SpawnScripts/Generic/GenericVoiceOvers.lua")
- dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
- function spawn(NPC)
- SetInfoStructString(NPC, "action_state", "ponder")
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- if GetFactionAmount(Spawn,11) <0 then
- FactionChecking(NPC, Spawn, faction)
- else
- conversation = CreateConversation()
- -- PlayFlavor(NPC, "voiceover/english/tutorial_revamp/gilcirith_elensar/qey_village04/newbie_path_froglok/gilcirithelensar004.mp3", "", "", 259212641, 3674286430) Doesn't Play.
- GenericHail(NPC, Spawn)
- AddConversationOption(conversation, "Thank you.")
- StartConversation(conversation, NPC, Spawn, "Welcome, traveler.")
- end
- end
|