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

I get this error on my order script! Pls help rep+++ Cyberm Take a look!

Printer

if Printer then print("LUA") end
Senator
Premium User
Joined
Dec 27, 2009
Messages
5,780
Solutions
31
Reaction score
2,299
Location
Sweden?
I get this error on my order script! Pls help rep+++

I order my creature to smash a stone or cut a tree or walk to that posision, it dont work i get this error!

Code:
[30/12/2010 18:01:07] [Error - Action Interface] 
[30/12/2010 18:01:07] data/actions/scripts/order.lua:onUse
[30/12/2010 18:01:07] Description: 
[30/12/2010 18:01:07] data/actions/scripts/order.lua:372: attempt to call global 'doCreatureWalkTo' (a nil value)
[30/12/2010 18:01:07] stack traceback:
[30/12/2010 18:01:07] 	data/actions/scripts/order.lua:372: in function 'doMove'
[30/12/2010 18:01:07] 	data/actions/scripts/order.lua:406: in function <data/actions/scripts/order.lua:154>
 
Last edited:
this is the move funcation:

local function doMove(uid, sid, Pname)
if itemEx.uid ~= cid then
doCreatureWalkTo(sid, toPosition)
doCreatureSay(cid, Pname ..", Move!", TALKTYPE_SAY)
return doCreatureSetNoMove(sid, false)
end
end
 
Back
Top