123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- --[[
- Script Name : SpawnScripts/qeynos_combined02/Bryson.lua
- Script Author : Rylec
- Script Date : 2021.09.08 09:09:29
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- AddTimer(NPC, 5000, "EmoteLoop")
- end
- function hailed(NPC, Spawn)
- PlayFlavor(NPC, "voiceover/english/bryson/qey_elddar/100_archer_human_bryson_multhail1_591026b2.mp3", "Now, if you hope to be as fine an archer as me, you should be off practicing instead of talking to me!", "idle03", 2519962645, 3532721498, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function EmoteLoop(NPC)
- local emoteChoice = MakeRandomInt(1,13)
- if emoteChoice == 1 then
- -- chuckle
- PlayAnimation(NPC, 11152)
- AddTimer(NPC, MakeRandomInt(8000,12000), "EmoteLoop")
- elseif emoteChoice == 2 then
- -- converse_female01
- PlayAnimation(NPC, 11221)
- AddTimer(NPC, MakeRandomInt(6000,10000), "EmoteLoop")
- elseif emoteChoice == 3 then
- -- converse_female05
- PlayAnimation(NPC, 11225)
- AddTimer(NPC, MakeRandomInt(6000,10000), "EmoteLoop")
- elseif emoteChoice == 4 then
- -- converse_female06
- PlayAnimation(NPC, 11226)
- AddTimer(NPC, MakeRandomInt(6000,10000), "EmoteLoop")
- elseif emoteChoice == 5 then
- -- converse_female07
- PlayAnimation(NPC, 11227)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 6 then
- -- converse_female08
- PlayAnimation(NPC, 11228)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 7 then
- -- converse_female09
- PlayAnimation(NPC, 11229)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 8 then
- -- converse_female10
- PlayAnimation(NPC, 11230)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 9 then
- -- converse_female11
- PlayAnimation(NPC, 11231)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 10 then
- -- converse_female12
- PlayAnimation(NPC, 11232)
- AddTimer(NPC, MakeRandomInt(5000,9000), "EmoteLoop")
- elseif emoteChoice == 11 then
- -- giggle
- PlayAnimation(NPC, 11648)
- AddTimer(NPC, MakeRandomInt(6000,10000), "EmoteLoop")
- elseif emoteChoice == 12 then
- -- happy
- PlayAnimation(NPC, 11668)
- AddTimer(NPC, MakeRandomInt(9000,13000), "EmoteLoop")
- else
- -- smile
- PlayAnimation(NPC, 12285)
- AddTimer(NPC, MakeRandomInt(7000,11000), "EmoteLoop")
- end
- end
-
|