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

Help me with this script!!

victorccx

New Member
Joined
Mar 23, 2014
Messages
5
Reaction score
0
This script is the POI, serves to use the vial of blood in gravestone and be teleportado to another place, more does not work with me. Could Someone tell me in detail what are these Positions???


./data/movements/movements.xml
XML:
<movevent type="AddItem" tileitem="1" uniqueid="10200" event="script" value="gravestone.lua"/>
./data/movements/scripts/gravestone.lua
LUA:
function onAddItem(moveitem, tileitem, pos, cid)
if getItemInfo(moveitem.itemid).group == 11 then
doRemoveItem(moveitem.uid)
if moveitem.itemid == 2016 and moveitem.type == 2 then
[B]local v = getTopCreature({x=847,y=1281,z=8}).uid[/B]
if not isPlayer(v) then
[B]v = getTopCreature({x=848,y=1281,z=8}).uid[/B]
end
if isPlayer(v) then
doSendMagicEffect(getThingPos(v), CONST_ME_DRAWBLOOD)
[B]doTeleportThing(v, {x=847, y=1280, z=9})
doSendMagicEffect({x=847, y=1280, z=9}, 10)[/B]
doCreatureSay(v, "Muahahahaha...", TALKTYPE_ORANGE_1, false, 0, pos)
doCreatureSay(v, "Muahahahaha...", TALKTYPE_ORANGE_1)
end
end
end
end




The fact is that I use the vial and nothing happens, maybe I have the wrong positions by not knowing, help me!
 
Back
Top