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

Demon Oak

Aathex

Referred to as God
Joined
Mar 16, 2009
Messages
10
Reaction score
0
Location
The Netherlands
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
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
 
Back
Top