-- 基础信息 local base_info = { group_id = 250081002 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 2001, gadget_id = 70380301, pos = { x = 793.877, y = 67.261, z = 923.782 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, { config_id = 2002, gadget_id = 70380301, pos = { x = 816.305, y = 62.240, z = 905.546 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2003, gadget_id = 70380301, pos = { x = 826.604, y = 61.099, z = 895.180 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2004, gadget_id = 70380301, pos = { x = 826.717, y = 61.051, z = 885.601 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2005, gadget_id = 70380301, pos = { x = 826.844, y = 61.051, z = 875.701 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2006, gadget_id = 70380301, pos = { x = 806.521, y = 61.051, z = 905.575 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2007, gadget_id = 70380301, pos = { x = 806.414, y = 61.051, z = 895.996 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2008, gadget_id = 70380301, pos = { x = 806.039, y = 61.051, z = 886.096 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2009, gadget_id = 70380301, pos = { x = 805.227, y = 60.232, z = 875.625 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 从下往上 { config_id = 2010, gadget_id = 70380301, pos = { x = 804.853, y = 40.781, z = 874.969 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, -- 从左往右 { config_id = 2011, gadget_id = 70380301, pos = { x = 816.256, y = 68.933, z = 854.158 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, -- 整体移动 { config_id = 2012, gadget_id = 70380301, pos = { x = 806.249, y = 68.517, z = 844.690 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2013, gadget_id = 70380301, pos = { x = 796.872, y = 69.012, z = 865.030 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 整体移动 { config_id = 2014, gadget_id = 70380301, pos = { x = 816.682, y = 69.012, z = 864.730 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 往下 { config_id = 2015, gadget_id = 70380301, pos = { x = 775.760, y = 68.671, z = 864.824 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, { config_id = 2016, gadget_id = 70380301, pos = { x = 746.904, y = 62.603, z = 855.123 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 向上开门 { config_id = 2017, gadget_id = 70380301, pos = { x = 756.994, y = 60.472, z = 843.790 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 向上开门 { config_id = 2018, gadget_id = 70380301, pos = { x = 756.994, y = 60.627, z = 834.351 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 向上开门 { config_id = 2019, gadget_id = 70380301, pos = { x = 756.994, y = 60.201, z = 823.832 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2020, gadget_id = 70380301, pos = { x = 766.903, y = 64.775, z = 804.893 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2021, gadget_id = 70380301, pos = { x = 784.422, y = 46.963, z = 804.426 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2022, gadget_id = 70380301, pos = { x = 794.060, y = 56.252, z = 804.703 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2023, gadget_id = 70380301, pos = { x = 794.060, y = 63.320, z = 794.814 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2024, gadget_id = 70380301, pos = { x = 777.336, y = 92.082, z = 785.829 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2025, gadget_id = 70380301, pos = { x = 759.197, y = 89.083, z = 741.842 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2026, gadget_id = 70380301, pos = { x = 789.954, y = 89.659, z = 741.841 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2027, gadget_id = 70380301, pos = { x = 759.206, y = 89.659, z = 731.775 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2028, gadget_id = 70380301, pos = { x = 789.962, y = 89.659, z = 731.775 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2029, gadget_id = 70380301, pos = { x = 759.132, y = 89.659, z = 721.421 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2030, gadget_id = 70380301, pos = { x = 789.894, y = 89.659, z = 721.421 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2031, gadget_id = 70380301, pos = { x = 759.137, y = 89.659, z = 711.487 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩进 { config_id = 2032, gadget_id = 70380301, pos = { x = 789.739, y = 89.659, z = 711.487 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2033, gadget_id = 70380301, pos = { x = 780.046, y = 108.628, z = 741.853 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2034, gadget_id = 70380301, pos = { x = 770.109, y = 108.627, z = 741.853 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2035, gadget_id = 70380301, pos = { x = 770.109, y = 108.556, z = 731.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2036, gadget_id = 70380301, pos = { x = 780.009, y = 108.659, z = 731.906 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2037, gadget_id = 70380301, pos = { x = 775.064, y = 108.561, z = 721.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 缩低 { config_id = 2038, gadget_id = 70380301, pos = { x = 775.033, y = 108.562, z = 712.306 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 开门 { config_id = 2039, gadget_id = 70380301, pos = { x = 775.201, y = 89.853, z = 701.142 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, start_route = false }, -- 掉落 { config_id = 2040, gadget_id = 70380301, pos = { x = 780.509, y = 64.592, z = 681.332 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 掉落 { config_id = 2041, gadget_id = 70380301, pos = { x = 770.566, y = 64.592, z = 681.272 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 掉落 { config_id = 2042, gadget_id = 70380301, pos = { x = 780.585, y = 64.592, z = 671.421 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 掉落 { config_id = 2043, gadget_id = 70380301, pos = { x = 770.583, y = 64.592, z = 671.360 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, { config_id = 2066, gadget_id = 70380301, pos = { x = 793.846, y = 68.148, z = 784.971 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, { config_id = 2067, gadget_id = 70380301, pos = { x = 757.304, y = 62.815, z = 865.035 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, { config_id = 2068, gadget_id = 70380301, pos = { x = 767.353, y = 63.028, z = 844.250 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 墙面推进 { config_id = 2071, gadget_id = 70380301, pos = { x = 745.764, y = 65.363, z = 809.915 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 墙面推进 { config_id = 2072, gadget_id = 70380301, pos = { x = 745.825, y = 65.363, z = 800.000 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false }, -- 墙面推进 { config_id = 2073, gadget_id = 70380301, pos = { x = 745.885, y = 65.363, z = 790.036 }, rot = { x = 0.000, y = 359.651, z = 0.000 }, level = 1, start_route = false } } -- 区域 regions = { { config_id = 2044, shape = RegionShape.SPHERE, radius = 8, pos = { x = 783.506, y = 56.690, z = 923.533 } }, { config_id = 2045, shape = RegionShape.SPHERE, radius = 8, pos = { x = 817.110, y = 53.840, z = 909.948 } }, { config_id = 2046, shape = RegionShape.SPHERE, radius = 8, pos = { x = 817.507, y = 53.840, z = 896.424 } }, { config_id = 2047, shape = RegionShape.SPHERE, radius = 5, pos = { x = 804.941, y = 51.538, z = 875.435 } }, { config_id = 2049, shape = RegionShape.SPHERE, radius = 5, pos = { x = 806.470, y = 59.040, z = 864.052 } }, { config_id = 2050, shape = RegionShape.SPHERE, radius = 6, pos = { x = 786.324, y = 59.144, z = 865.163 } }, { config_id = 2051, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 853.907 } }, { config_id = 2052, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 844.343 } }, { config_id = 2053, shape = RegionShape.SPHERE, radius = 6, pos = { x = 757.622, y = 53.200, z = 834.588 } }, { config_id = 2054, shape = RegionShape.SPHERE, radius = 8, pos = { x = 755.573, y = 55.670, z = 804.729 } }, { config_id = 2055, shape = RegionShape.SPHERE, radius = 5, pos = { x = 784.845, y = 56.895, z = 805.108 } }, { config_id = 2056, shape = RegionShape.SPHERE, radius = 5, pos = { x = 794.154, y = 66.420, z = 805.561 } }, { config_id = 2057, shape = RegionShape.SPHERE, radius = 5, pos = { x = 793.121, y = 73.410, z = 796.205 } }, { config_id = 2058, shape = RegionShape.SPHERE, radius = 5, pos = { x = 787.280, y = 82.300, z = 786.852 } }, { config_id = 2059, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.358, z = 751.889 } }, { config_id = 2060, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 739.964 } }, { config_id = 2061, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 733.970 } }, { config_id = 2062, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.692, y = 80.846, z = 726.994 } }, { config_id = 2063, shape = RegionShape.SPHERE, radius = 8, pos = { x = 774.794, y = 79.830, z = 711.941 } }, { config_id = 2064, shape = RegionShape.SPHERE, radius = 5, pos = { x = 775.132, y = 75.224, z = 675.616 } }, { config_id = 2069, shape = RegionShape.SPHERE, radius = 6, pos = { x = 767.145, y = 53.200, z = 863.044 } }, { config_id = 2070, shape = RegionShape.SPHERE, radius = 6, pos = { x = 793.438, y = 78.468, z = 785.192 } }, { config_id = 2074, shape = RegionShape.SPHERE, radius = 6, pos = { x = 756.493, y = 55.670, z = 814.596 } } } -- 触发器 triggers = { { config_id = 1002044, name = "ENTER_REGION_2044", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2044", action = "action_EVENT_ENTER_REGION_2044" }, { config_id = 1002045, name = "ENTER_REGION_2045", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2045", action = "action_EVENT_ENTER_REGION_2045" }, { config_id = 1002046, name = "ENTER_REGION_2046", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2046", action = "action_EVENT_ENTER_REGION_2046" }, { config_id = 1002047, name = "ENTER_REGION_2047", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2047", action = "action_EVENT_ENTER_REGION_2047" }, { config_id = 1002048, name = "PLATFORM_REACH_POINT_2048", event = EventType.EVENT_PLATFORM_REACH_POINT, source = "", condition = "condition_EVENT_PLATFORM_REACH_POINT_2048", action = "action_EVENT_PLATFORM_REACH_POINT_2048", trigger_count = 0 }, { config_id = 1002049, name = "ENTER_REGION_2049", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2049", action = "action_EVENT_ENTER_REGION_2049" }, { config_id = 1002050, name = "ENTER_REGION_2050", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2050", action = "action_EVENT_ENTER_REGION_2050" }, { config_id = 1002051, name = "ENTER_REGION_2051", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2051", action = "action_EVENT_ENTER_REGION_2051" }, { config_id = 1002052, name = "ENTER_REGION_2052", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2052", action = "action_EVENT_ENTER_REGION_2052" }, { config_id = 1002053, name = "ENTER_REGION_2053", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2053", action = "action_EVENT_ENTER_REGION_2053" }, { config_id = 1002054, name = "ENTER_REGION_2054", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2054", action = "action_EVENT_ENTER_REGION_2054" }, { config_id = 1002055, name = "ENTER_REGION_2055", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2055", action = "action_EVENT_ENTER_REGION_2055" }, { config_id = 1002056, name = "ENTER_REGION_2056", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2056", action = "action_EVENT_ENTER_REGION_2056" }, { config_id = 1002057, name = "ENTER_REGION_2057", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2057", action = "action_EVENT_ENTER_REGION_2057" }, { config_id = 1002058, name = "ENTER_REGION_2058", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2058", action = "action_EVENT_ENTER_REGION_2058" }, { config_id = 1002059, name = "ENTER_REGION_2059", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2059", action = "action_EVENT_ENTER_REGION_2059" }, { config_id = 1002060, name = "ENTER_REGION_2060", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2060", action = "action_EVENT_ENTER_REGION_2060" }, { config_id = 1002061, name = "ENTER_REGION_2061", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2061", action = "action_EVENT_ENTER_REGION_2061" }, { config_id = 1002062, name = "ENTER_REGION_2062", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2062", action = "action_EVENT_ENTER_REGION_2062" }, { config_id = 1002063, name = "ENTER_REGION_2063", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2063", action = "action_EVENT_ENTER_REGION_2063" }, { config_id = 1002064, name = "ENTER_REGION_2064", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2064", action = "action_EVENT_ENTER_REGION_2064" }, { config_id = 1002069, name = "ENTER_REGION_2069", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2069", action = "action_EVENT_ENTER_REGION_2069" }, { config_id = 1002070, name = "ENTER_REGION_2070", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2070", action = "action_EVENT_ENTER_REGION_2070" }, { config_id = 1002074, name = "ENTER_REGION_2074", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2074", action = "action_EVENT_ENTER_REGION_2074" } } -- 变量 variables = { } -- 废弃数据 garbages = { regions = { { config_id = 2065, shape = RegionShape.SPHERE, radius = 10, pos = { x = 775.132, y = 0.068, z = 675.616 } } }, triggers = { { config_id = 1002065, name = "ENTER_REGION_2065", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_2065", action = "action_EVENT_ENTER_REGION_2065" } } } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 2, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043, 2066, 2067, 2068, 2071, 2072, 2073 }, regions = { 2044, 2045, 2046, 2047, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2069, 2070, 2074 }, triggers = { "ENTER_REGION_2044", "ENTER_REGION_2045", "ENTER_REGION_2046", "ENTER_REGION_2047", "PLATFORM_REACH_POINT_2048", "ENTER_REGION_2049", "ENTER_REGION_2050", "ENTER_REGION_2051", "ENTER_REGION_2052", "ENTER_REGION_2053", "ENTER_REGION_2054", "ENTER_REGION_2055", "ENTER_REGION_2056", "ENTER_REGION_2057", "ENTER_REGION_2058", "ENTER_REGION_2059", "ENTER_REGION_2060", "ENTER_REGION_2061", "ENTER_REGION_2062", "ENTER_REGION_2063", "ENTER_REGION_2064", "ENTER_REGION_2069", "ENTER_REGION_2070", "ENTER_REGION_2074" }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_ENTER_REGION_2044(context, evt) if evt.param1 ~= 2044 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2044(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2001, 25) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2001) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110538 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110538) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2045(context, evt) if evt.param1 ~= 2045 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2045(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2002, 26) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2002) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110539 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110539) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2046(context, evt) if evt.param1 ~= 2046 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2046(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2004, 27) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2004) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2007, 95) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2007) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2008, 28) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2008) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2005, 29) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2005) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2009, 30) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2009) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110540 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110540) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2047(context, evt) if evt.param1 ~= 2047 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2047(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2010, 31) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2010) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110541 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110541) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_PLATFORM_REACH_POINT_2048(context, evt) -- 判断是gadgetid 为 2010的移动平台,是否到达了31 的路线中的 0 点 if 2010 ~= evt.param1 then return false end if 31 ~= evt.param2 then return false end if 0 ~= evt.param3 then return false end return true end -- 触发操作 function action_EVENT_PLATFORM_REACH_POINT_2048(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2014, 32) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2014) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2011, 33) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2011) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110542 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110542) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2049(context, evt) if evt.param1 ~= 2049 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2049(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2012, 34) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2012) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2013, 35) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2013) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110543 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110543) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2050(context, evt) if evt.param1 ~= 2050 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2050(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2015, 36) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2015) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110544 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110544) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2051(context, evt) if evt.param1 ~= 2051 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2051(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2017, 37) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2017) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110545 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110545) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2052(context, evt) if evt.param1 ~= 2052 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2052(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2018, 38) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2018) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110546 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110546) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2053(context, evt) if evt.param1 ~= 2053 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2053(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2019, 39) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2019) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110547 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110547) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2054(context, evt) if evt.param1 ~= 2054 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2054(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2020, 40) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2020) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110548 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110548) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2055(context, evt) if evt.param1 ~= 2055 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2055(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2021, 41) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2021) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110549 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110549) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2056(context, evt) if evt.param1 ~= 2056 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2056(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2022, 42) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2022) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2057(context, evt) if evt.param1 ~= 2057 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2057(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2023, 43) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2023) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2058(context, evt) if evt.param1 ~= 2058 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2058(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2024, 44) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2024) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2059(context, evt) if evt.param1 ~= 2059 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2059(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2025, 45) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2025) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2026, 46) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2026) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2033, 54) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2033) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2034, 55) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2034) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110550 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110550) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2060(context, evt) if evt.param1 ~= 2060 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2060(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2027, 47) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2027) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2028, 48) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2028) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2035, 56) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2035) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2036, 57) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2036) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110551 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110551) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2061(context, evt) if evt.param1 ~= 2061 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2061(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2029, 49) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2029) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2030, 50) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2030) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2037, 58) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2037) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110552 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110552) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2062(context, evt) if evt.param1 ~= 2062 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2062(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2031, 51) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2031) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2032, 52) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2032) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2038, 59) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2038) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110553 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110553) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2063(context, evt) if evt.param1 ~= 2063 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2063(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2039, 53) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2039) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110554 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110554) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2064(context, evt) if evt.param1 ~= 2064 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2064(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2040, 60) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2040) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2041, 61) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2041) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2042, 62) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2042) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2043, 63) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2043) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 调用提示id为 1110555 的提示UI,会显示在屏幕中央偏下位置,id索引自 ReminderData表格 if 0 ~= ScriptLib.ShowReminder(context, 1110555) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2069(context, evt) if evt.param1 ~= 2069 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2069(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2067, 93) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2068, 94) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2067) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2068) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2070(context, evt) if evt.param1 ~= 2070 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2070(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2066, 92) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2066) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end -- 触发条件 function condition_EVENT_ENTER_REGION_2074(context, evt) if evt.param1 ~= 2074 then return false end -- 判断角色数量不少于1 if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then return false end return true end -- 触发操作 function action_EVENT_ENTER_REGION_2074(context, evt) -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2071, 96) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2072, 97) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 设置移动平台路径 if 0 ~= ScriptLib.SetPlatformRouteId(context, 2073, 98) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_platform_routeId") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2071) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2072) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 2703) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end