Forkz
Well-Known Member
- Joined
- Jun 29, 2020
- Messages
- 360
- Solutions
- 1
- Reaction score
- 76
Hi otlanders,
I'm using the script below, so I'd like to make a change, but I still don't have a choice.
I would like to exchange the
for:
any solution for the same?
I'm using the script below, so I'd like to make a change, but I still don't have a choice.
Lua:
function onThink(interval, lastExecution)
local texts =
{
["Treiner Room"] = {{x=17577, y=17528, z=7}, 28, 39, TEXTCOLOR_WHITE},
["Teleports!"] = {{x=17587, y=17528, z=7}, 28, 39, TEXTCOLOR_GREY},
["Castle24H"] = {{x=17582, y=17526, z=7}, 37, 37, TEXTCOLOR_ORANGE},
["Bank"] = {{x=17563, y=17562, z=7}, 56, 56, TEXTCOLOR_RED},
["Trainers"] = {{x=18410, y=18025, z=6}, 28, 39, TEXTCOLOR_RED},
["F E A R"] = {{x=17582, y=17534, z=7}, 3, 3, TEXTCOLOR_RED},
["VocQuest!"] = {{x=17582, y=17542, z=7}, 13, 12, TEXTCOLOR_RED}
}
for text, param in pairs(texts) do
doSendAnimatedText(param[1], text, param[4])
doSendMagicEffect(param[1], param[2])
doSendMagicEffect(param[1], param[3])
end
return true
end
I would like to exchange the
Lua:
doSendAnimatedText(param[1], text, param[4])
Lua:
doCreatureSay
any solution for the same?