Aathex
Referred to as God
hi i have been working on demon oak really long and i got almost all to work.. but more then just 1 can enter the area because i cant get the tree to appear.
i will post movement scripts
and yes, coordinate is correct
both are from movements.xml , please help me with this problem that the tree appears so only 1 can enter, i give rep++++!!!!
aathex
i will post movement scripts
Code:
function onStepIn(cid, item, pos)
-- Start tree removal set
StartTreePos = {x=32716, y=32345, z=7, stackpos=1} --- coord of tree blocking path
StartTreeChk = getThingfromPos(StartTreePos)
-- end of check
if isPlayer(cid) == TRUE then
doRemoveItem(StartTreeChk.uid)
end
return TRUE
end
and yes, coordinate is correct
Code:
function onStepIn(cid, item, position, fromPosition)
TreePos = {x=32716, y=32345, z=7} --- coord of tree blocking path
Tree1 = doCreateItem(2709, 1, TreePos)
if item.itemid == 8292 then
doSetItemActionId(Tree1, 7788)
end
return TRUE
end
both are from movements.xml , please help me with this problem that the tree appears so only 1 can enter, i give rep++++!!!!
aathex