private void Action_Map_EnterMap(ActionInfo info, PlayerObject play) { String[] option = info.param.Split(' '); if (option.Length < 2) { Log.Instance().WriteLog("脚本参数错误,id:" + info.id.ToString() + " param:" + info.param); return; } uint mapid = Convert.ToUInt32(option[0]); short x = Convert.ToInt16(option[1]); short y = Convert.ToInt16(option[2]); byte dir = Convert.ToByte(option[3]); play.FlyMap(mapid, x, y, dir); }