--玩家进入地图触发
function on_PlayIntoMap(actor)
local actorname = actor:getCharName()
local mapName = actor:getMapName()
print("["..actorname.."]进入地图"..mapName.."--[玩家进入地图触发]")
end
--玩家离开地图触发
function on_PlayLeaveMap(actor)
local actorname = actor:getCharName()
local mapName = actor:getMapName()
print("["..actorname.."]离开地图"..mapName.."--[玩家离开地图触发]")
end