Well i have looked at the script and checked my map editor and everything seems ok but when you try to goto quaras at yalahar the whirlpools are just walkable (you just walk on them and nothing happens), here are the scripts.
and in movements
Code:
function onStepIn(cid, item, position)
if item.actionid == 7801 then
doTeleportThing(cid,{x=747, y=581, z=9})
doSendMagicEffect({x=747, y=581, z=9},10)
elseif item.actionid == 7802 then
doTeleportThing(cid,{x=748, y=581, z=9})
doSendMagicEffect({x=748, y=581, z=9},10)
elseif item.actionid == 7803 then
doTeleportThing(cid,{x=747, y=582, z=9})
doSendMagicEffect({x=747, y=582, z=9},10)
elseif item.actionid == 7804 then
doTeleportThing(cid,{x=748, y=582, z=9})
doSendMagicEffect({x=748, y=582, z=9},10)
end
return TRUE
end
and in movements
Code:
<!--- Sunken Quarter Whirlpools -->
<movevent event="StepIn" actionid="7801" script="whirlpools.lua" />
<movevent event="StepIn" actionid="7802" script="whirlpools.lua" />
<movevent event="StepIn" actionid="7803" script="whirlpools.lua" />
<movevent event="StepIn" actionid="7804" script="whirlpools.lua" />