Sir Islam
Never Give Up
here we go
open globalevents.xml
and put this line
than goto data\globalevents\scripts and make file name talkingSigns.lua
and put this script there
for this line
name_of_monster = 'demon' --- here put monster name or npc name
in this line you will put monster name for this script work in 9.1 + make sure this monster never die or found so make monster like Training because if all monster you put in script , die will make problem in server coz no thing to say
here some effects
--CONST_ME_FIREWORK_YELLOW
--CONST_ME_FIREWORK_RED
--CONST_ME_YELLOW_RINGS
--CONST_ME_ENERGYAREA
--CONST_ME_CRAPS
--CONST_ME_MAGIC_BLUE
--CONST_ME_WATERSPLASH
--CONST_ME_FIREWORK_BLUE
if you wanna this script work just remove thie line of for 8.54 or for 9.1 just see what you wanna to use
and if you wanna make like two text like depot and depot just put spase after any test of depot for this work like i do in this script
sorry for my English
By me: Talking Signs for 8.54 ++ to 9.81
open globalevents.xml
and put this line
Code:
<globalevent name="talkingSigns" interval="3000" event="script" value="talkingSigns.lua"/>
than goto data\globalevents\scripts and make file name talkingSigns.lua
and put this script there
Code:
function onThink(interval, lastExecution)
local name_of_monster = 'demon' --- here put monster name or any npc name
local texts =
{
-- text pos effects
["test"] = {{x=2000, y=2000, z=7},CONST_ME_ENERGYAREA, 23},
["test "] = {{x=275, y= 2015, z=8},CONST_ME_ENERGYAREA, 23},
["test "] = {{x=1997, y=1990, z=15},CONST_ME_FIREWORK_YELLOW, 23}
}
for text, param in pairs(texts) do
doSendAnimatedText(param[1], text, param[3]) -- for 8.54 +
doSendMagicEffect(param[1], param[2])
doCreatureSay(getCreatureByName(name_of_monster),text,TALKTYPE_ORANGE_1, false, 0,param[1]) -- for 9.1+
end
return TRUE
end
for this line
name_of_monster = 'demon' --- here put monster name or npc name
in this line you will put monster name for this script work in 9.1 + make sure this monster never die or found so make monster like Training because if all monster you put in script , die will make problem in server coz no thing to say
here some effects
--CONST_ME_FIREWORK_YELLOW
--CONST_ME_FIREWORK_RED
--CONST_ME_YELLOW_RINGS
--CONST_ME_ENERGYAREA
--CONST_ME_CRAPS
--CONST_ME_MAGIC_BLUE
--CONST_ME_WATERSPLASH
--CONST_ME_FIREWORK_BLUE
if you wanna this script work just remove thie line of for 8.54 or for 9.1 just see what you wanna to use
and if you wanna make like two text like depot and depot just put spase after any test of depot for this work like i do in this script
sorry for my English
By me: Talking Signs for 8.54 ++ to 9.81
Last edited: