Death Blower
I'm Ready.
- Joined
- Aug 19, 2011
- Messages
- 49
- Reaction score
- 3
Animated Texts.lua:
Globalevents.xml:
When I found this on OtLand it wasnt attatched to a specific thread so I decided to share it . Creds to: VirrageS
Code:
local config = {
positions = {
["Welcome"] = { x = 1997, y = 1999, z = 7 },
["Training"] = { x = 2000, y = 1997, z = 7 },
["Quests"] = { x = 2002, y = 1997, z = 7 },
["Item Room"] = { x = 2002, y = 1999, z = 7 },
["Donations"] = { x = 2002, y = 2001, z = 7 }
},
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, math.random(67))
doSendAnimatedText(pos, text, math.random(255))
end
return TRUE
end
Globalevents.xml:
Code:
<globalevent name="Animated Texts" interval="1" event="script" value="Animated Texts.lua"/>
When I found this on OtLand it wasnt attatched to a specific thread so I decided to share it . Creds to: VirrageS
Last edited: