• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

All in one Animated Text!

Death Blower

I'm Ready.
Joined
Aug 19, 2011
Messages
49
Reaction score
3
Animated Texts.lua:
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:
Back
Top