--================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 575, gadget_id = 70290009, pos = { x = 2558.2, y = 208.0, z = -65.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 576, gadget_id = 70500000, pos = { x = 2558.2, y = 208.0, z = -65.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 575 }, { config_id = 577, gadget_id = 70290009, pos = { x = 2679.4, y = 209.2, z = -135.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 578, gadget_id = 70500000, pos = { x = 2679.4, y = 209.2, z = -135.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 577 }, { config_id = 579, gadget_id = 70290009, pos = { x = 2817.9, y = 206.8, z = 2.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 580, gadget_id = 70500000, pos = { x = 2817.9, y = 206.8, z = 2.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 579 }, { config_id = 581, gadget_id = 70290009, pos = { x = 2858.1, y = 208.9, z = 174.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 582, gadget_id = 70500000, pos = { x = 2858.1, y = 208.9, z = 174.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 581 }, { config_id = 583, gadget_id = 70290009, pos = { x = 2639.3, y = 206.8, z = 314.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 584, gadget_id = 70500000, pos = { x = 2639.3, y = 206.8, z = 314.4 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 583 }, { config_id = 585, gadget_id = 70290009, pos = { x = 2454.6, y = 219.4, z = 233.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 586, gadget_id = 70500000, pos = { x = 2454.6, y = 219.4, z = 233.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 585 }, { config_id = 587, gadget_id = 70290009, pos = { x = 2754.5, y = 209.9, z = 282.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 588, gadget_id = 70500000, pos = { x = 2754.5, y = 209.9, z = 282.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 587 }, { config_id = 620, gadget_id = 70290009, pos = { x = 2644.9, y = 206.8, z = 320.3 }, rot = { x = 0.0, y = 58.2, z = 0.0 }, level = 1 }, { config_id = 621, gadget_id = 70500000, pos = { x = 2644.9, y = 206.8, z = 320.3 }, rot = { x = 0.0, y = 58.2, z = 0.0 }, level = 1, point_type = 3005, owner = 620 }, { config_id = 629, gadget_id = 70290009, pos = { x = 2057.4, y = 206.0, z = -43.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 630, gadget_id = 70500000, pos = { x = 2057.4, y = 206.0, z = -43.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 629 }, { config_id = 631, gadget_id = 70290009, pos = { x = 2061.3, y = 205.4, z = -35.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 632, gadget_id = 70500000, pos = { x = 2061.3, y = 205.4, z = -35.5 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 631 }, { config_id = 635, gadget_id = 70290009, pos = { x = 2183.3, y = 252.7, z = -57.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 636, gadget_id = 70500000, pos = { x = 2183.3, y = 252.7, z = -57.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 635 }, { config_id = 855, gadget_id = 70290009, pos = { x = 2900.4, y = 225.2, z = 338.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 856, gadget_id = 70500000, pos = { x = 2900.4, y = 225.2, z = 338.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 855 }, { config_id = 857, gadget_id = 70290009, pos = { x = 2427.3, y = 222.5, z = 414.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 858, gadget_id = 70500000, pos = { x = 2427.3, y = 222.5, z = 414.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 857 }, { config_id = 859, gadget_id = 70290009, pos = { x = 2420.0, y = 225.6, z = 327.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 860, gadget_id = 70500000, pos = { x = 2420.0, y = 225.6, z = 327.2 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 859 }, { config_id = 861, gadget_id = 70290009, pos = { x = 2453.5, y = 223.8, z = 298.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 862, gadget_id = 70500000, pos = { x = 2453.5, y = 223.8, z = 298.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 861 }, { config_id = 895, gadget_id = 70290009, pos = { x = 2534.1, y = 226.6, z = 492.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 896, gadget_id = 70500000, pos = { x = 2534.1, y = 226.6, z = 492.1 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 895 }, { config_id = 943, gadget_id = 70290009, pos = { x = 2334.3, y = 234.4, z = -54.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 944, gadget_id = 70500000, pos = { x = 2334.3, y = 234.4, z = -54.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 943 }, { config_id = 945, gadget_id = 70290009, pos = { x = 2328.1, y = 261.9, z = -73.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 }, { config_id = 946, gadget_id = 70500000, pos = { x = 2328.1, y = 261.9, z = -73.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1, point_type = 3005, owner = 945 } } -- 区域 regions = { { config_id = 85, shape = RegionShape.SPHERE, radius = 5, pos = { x = 2555.0, y = 206.8, z = -62.6 } } } -- 触发器 triggers = { { name = "CLIENT_EXECUTE_85", event = EventType.EVENT_CLIENT_EXECUTE, source = "ElementFlora", condition = "", action = "action_EVENT_CLIENT_EXECUTE_85", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, rand_suite = true, npcs = { } } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 0, -- description = , monsters = { }, gadgets = { 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 620, 621, 629, 630, 631, 632, 635, 636, 855, 856, 857, 858, 859, 860, 861, 862, 895, 896, 943, 944, 945, 946 }, regions = { 85 }, triggers = { "CLIENT_EXECUTE_85" }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 -- 触发操作 function action_EVENT_CLIENT_EXECUTE_85(context, evt) -- 针对groupid为 133007158 中该config对应的物件进行状态改变操作 local this_gadget = ScriptLib.GetGadgetConfigId(context, { gadget_eid = evt.source_eid }) --ScriptLib.PrintLog("config_id="..this_gadget) ScriptLib.SetGadgetEnableInteract(context, 133007158, this_gadget, true) return 0 end