http://tibia.net.pl/showthread.php?t=7678 - the original topic
Script just does not work, did everything in sequence, but it puts me just like all of a ladder.
[31/05/2010 2000 : 44:46] The Forgotten Server version 0.3.6 (Crying Damson)
The engine has no errors, it can be to blame for the engine, which does not read anything? Why do not you work?
actions/scripts:
actions.xml:
movements/scripts:
movements.xml
Script just does not work, did everything in sequence, but it puts me just like all of a ladder.
[31/05/2010 2000 : 44:46] The Forgotten Server version 0.3.6 (Crying Damson)
The engine has no errors, it can be to blame for the engine, which does not read anything? Why do not you work?
actions/scripts:
Code:
function onUse(cid, item, frompos)
local i460 = {x=2663, y=2896-3, z=4} -- pozycja itema 460 o uid 4503
if isPlayer(cid) == TRUE then
doTeleportThing(cid,i460)
else
return 0
end
end
actions.xml:
Code:
<action uniqueid="4503" script="drabina4503.lua"/>
movements/scripts:
Code:
function onStepIn(cid, item, pos)
local drabina = {x=2663, y=2896, z=7} -- wspolrzedne drabiny o uid 4503 (gdzie ma sie pojawic gracz)
if isPlayer(cid) == TRUE then
doTeleportThing(cid,drabina)
else
return 0
end
end
movements.xml
Code:
<movevent event="StepIn" uniqueid="4504" script="460_4504.lua"/>