-----------------------------------
-- Area: Appolyon
-- Name: 
-----------------------------------
require("scripts/globals/limbus");


-- After registering the BCNM via bcnmRegister(bcnmid)
function OnBcnmRegister(player,instance)		
end;

-- Physically entering the BCNM via bcnmEnter(bcnmid)
function OnBcnmEnter(player,instance)
end;

-- Leaving the Dynamis by every mean possible, given by the LeaveCode
-- 3=Disconnected or warped out (if dyna is empty: launch 4 after 3)
-- 4=Finish 

function OnBcnmLeave(player,instance,leavecode)
--print("leave code "..leavecode);
	
	if(leavecode == 2 or leavecode == 3 or leavecode == 4) then
	 --	player:setPos(0,0,0,0,0x00);
	end
	if(leavecode == 4) then
		--SetServerVariable("[]UniqueID",0);
	end
	
end;