12345678910111213141516171819202122232425262728 |
- --[[
- Script Name : SpawnScripts/qeynos_combined02/aninjuredBaubbleshirecitizen133771765.lua
- Script Author : Rylec
- Script Date : 2021.01.17 01:01:52
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- AddTimer(NPC, 3000, "hairstyle")
- end
- function hailed(NPC, Spawn)
- math.randomseed(os.time())
- voice = math.random(1,3)
- PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1040.mp3", "", "", 0, 0, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hairstyle(NPC)
- math.randomseed(os.time())
- choice = math.random(1133,1140)
- SpawnSet(NPC, "hair_type", choice)
- end
|