Drakkhan
Illuria Project Lead
- Joined
- Oct 3, 2013
- Messages
- 141
- Reaction score
- 22
The function:
doSendAnimatedText(pos, text, color)
is listed in the "LUA_FUNCTIONS" reference of The Forgotten Server 0.2.14 (Mystic Spirit), but when I try to call it in my .lua script, I get:
The actual line that I use is:
--in an onUse() function...
doSendAnimatedText(fromPosition, "Test", TEXTCOLOR_ORANGE)
Anyone know why this function isn't working? I'm trying to replicate the "Munch" text that appears above the character when they eat something..
Regards!
Drakkhan
doSendAnimatedText(pos, text, color)
is listed in the "LUA_FUNCTIONS" reference of The Forgotten Server 0.2.14 (Mystic Spirit), but when I try to call it in my .lua script, I get:
Code:
[05/10/2013 16:39:09] Lua Script Error: [Action Interface]
[05/10/2013 16:39:09] data/actions/scripts/tools/woodcutting.lua:onUse
[05/10/2013 16:39:09] LuaScriptInterface::luaDoSendAnimatedText(). Deprecated function.
[05/10/2013 16:39:09] stack traceback:
[05/10/2013 16:39:09] [C]: in function 'doSendAnimatedText'
[05/10/2013 16:39:09] data/actions/scripts/tools/woodcutting.lua:305: in function <data/actions/scripts/tools/woodcutting.lua:215>
The actual line that I use is:
--in an onUse() function...
doSendAnimatedText(fromPosition, "Test", TEXTCOLOR_ORANGE)
Anyone know why this function isn't working? I'm trying to replicate the "Munch" text that appears above the character when they eat something..
Regards!
Drakkhan