Forum poświęcone powstawaniu Belxena OTS
Witam.Znalazłem skrypt na ground teleport.
Służy on do tego,jak staję się na daną kratkę,i teleportuje cie w dane miejsce.
Data/movements/script tworzymy: ground.lua
Cytat:
--edit by Banco dla tnp --
function onStepIn(cid, item, pos)
if item.actionid == 9977 then
local pos = getPlayerPosition(cid)
local tppos = {x=1000, y=1000, z=7}
doTeleportThing(cid,tppos)
doPlayerSendTextMessage(cid, 19, "Zostales teleportowany")
end
return 1
end
Następnie do movements.xml
Cytat:
<movevent event="StepIn" actionid="9977" script="ground.lua" />
A teraz wyjaśnienia:
Ten kolor oznacza,id kratki na ktorej staniesz to cie tepnie.
Offline