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

Solved Igloos not working?

Bug

New Member
Joined
Jan 7, 2011
Messages
111
Reaction score
1
Hi i need an action for my igloos because when i want to enter they dont take me down, this for a quest, idk if this is normal.
 
Last edited:
Do you need to click or walk on it?

Well if it's walk here you go, wipped it up real fast since its no big deal.
Lua:
actionId =  --- w/e action ID you want to use.
pos = {x = , y = , z =} -- Position of where they get teleported.

-- Set the action ID of the tile they walk on in map editor.


function onStepIn(cid, item, position, fromPosition)
	if item.actionid == actionId then
		doTeleportThing(cid, pos)
	end
end
 
Last edited:
@Black Reaper if you looked at the first script when you walk you will find
if item.actionid == pos then
Should Be
if item.actionid == actionId
 
@Black Reaper if you looked at the first script when you walk you will find
if item.actionid == pos then
Should Be
if item.actionid == actionId
Bleh typos too strong. Fixed.

Yes the first one is a movement, you need to edit the variables at the top of the script and add it to movements.xml
Code:
<movevent event="StepIn" actionid="EDIT_THIS" script="AND_THIS.lua"/>
 
alternative solution is placing id 459 below enterance and covering it with snow border - this is what I'm doing everytime I'm making igloo with cave
 
Back
Top