• 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!

Very nice Effect Script, Somone have?

Axelor

Member
Joined
Sep 2, 2010
Messages
505
Reaction score
9
Hiho as u see on the picture U see 3 things which I made an cirkel,
does some1 have those scripts? its kinda nice effects..

 
Last edited:
thx but, where do I have to put it ? in which folder,
\/
PHP:
local t = {
	[{x=1095, y=1217, z=7}] = {text = 'text 1', color = TEXTCOLOR_GREEN, effect = 18},
	[{x=1096, y=1217, z=7}] = {text = 'text 2', color = TEXTCOLOR_GREEN, effect = 19},
	[{x=1097, y=1217, z=7}] = {text = 'text 3', color = TEXTCOLOR_GREEN, effect = 21},
	[{x=1098, y=1217, z=7}] = {text = 'text 4', color = TEXTCOLOR_GREEN, effect = 22}
}
function onThink(interval, lastExecution, thinkInterval)
	for pos, v in pairs(t) do
		if v.text then
			doSendAnimatedText(pos, v.text, v.color or math.random(255))
		end
		if v.effect then
			doSendMagicEffect(pos, v.effect)
		end
	end
	return true
end

and what do I need to fill in the .xml file?
 
thx but, where do I have to put it ? in which folder,
\/
PHP:
local t = {
	[{x=1095, y=1217, z=7}] = {text = 'text 1', color = TEXTCOLOR_GREEN, effect = 18},
	[{x=1096, y=1217, z=7}] = {text = 'text 2', color = TEXTCOLOR_GREEN, effect = 19},
	[{x=1097, y=1217, z=7}] = {text = 'text 3', color = TEXTCOLOR_GREEN, effect = 21},
	[{x=1098, y=1217, z=7}] = {text = 'text 4', color = TEXTCOLOR_GREEN, effect = 22}
}
function onThink(interval, lastExecution, thinkInterval)
	for pos, v in pairs(t) do
		if v.text then
			doSendAnimatedText(pos, v.text, v.color or math.random(255))
		end
		if v.effect then
			doSendMagicEffect(pos, v.effect)
		end
	end
	return true
end

and what do I need to fill in the .xml file?



but how to have like 4-5 different things in one SQM?
I dont want only the same thing everytime?
can help?
 
[{x=1098, y=1217, z=7}] = {text = 'text 4', color = TEXTCOLOR_GREEN, effect = 22}
i guess it should be like this if you want more than 1.

[{x=1098, y=1217, z=7}] = {text = 'text 4', color = TEXTCOLOR_GREEN, effect = 22,23,24,52,21}



Save to the Globalevents.
Make new .lua file called effectile.lua
In globalevents.XML you should add this line- <globalevent name="EffectTile" interval="1" script="effectile.lua"/>
 
Back
Top