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

Door max Level

Paracatu

New Member
Joined
Jul 23, 2008
Messages
53
Reaction score
0
how can I put a door where only level <200 can enter. It is also a teleport. Thxx
 
Teleporter:
Code:
local destination = { x = 100, y = 100, z = 7 }

function onStepIn(cid, item, position, fromPosition)
	return doTeleportThing(cid, getPlayerLevel(cid) < 200 and destination or fromPosition)
end
 
Can I put itemuid="xxx" and put a unique ID on an item in the mapeditor?



<movevent type="StepOut" itemuid="1247" event="script" value="below200.lua"/>




And when I step on that item level 200 and below will be teleported to:
local destination = { x = 223, y = 223, z = 7 }

function onStepIn(cid, item, position, fromPosition)
return doTeleportThing(cid, getPlayerLevel(cid) < 200 and destination or fromPosition)
end

I'm making boss rooms on a highrate server, and it would be apropriate to have more than 1 item that have restriction so highlvls can't enter and kill the bosses that are for level 200-

Because as I understand it whatever item I put this code onto will be a teleporter wherever it is, and only for lvl 200-

Correct me if i missed something.. Thanks

I'm looking for something exactly like this dude requsted: http://otland.net/f132/unusual-door-help-29216/
 
Last edited:
Back
Top