-- 基础信息 local base_info = { group_id = 133003101 } -- Trigger变量 local defs = { worktop_id = 101001, gallery_id = 29011, region_id = 101005, client_judge_id = 100310001, warning_region_id = 101007 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 101001, gadget_id = 70290325, pos = { x = 2403.969, y = 312.390, z = -1687.926 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 }, { config_id = 101002, gadget_id = 70290346, pos = { x = 2364.381, y = 295.195, z = -1727.871 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 } } -- 区域 regions = { { config_id = 101005, shape = RegionShape.SPHERE, radius = 20, pos = { x = 2403.848, y = 312.383, z = -1688.351 }, area_id = 1 }, -- warning region { config_id = 101007, shape = RegionShape.SPHERE, radius = 14, pos = { x = 2403.848, y = 312.383, z = -1688.351 }, area_id = 1 } } -- 触发器 triggers = { { config_id = 1101006, name = "SELECT_OPTION_101006", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "", action = "action_EVENT_SELECT_OPTION_101006", trigger_count = 0 } } -- 变量 variables = { } -- 废弃数据 garbages = { gadgets = { { config_id = 101003, gadget_id = 70290346, pos = { x = 2430.271, y = 301.813, z = -1652.456 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 }, { config_id = 101004, gadget_id = 70290346, pos = { x = 2419.828, y = 301.388, z = -1651.155 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 } } } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 101001 }, regions = { 101005, 101007 }, triggers = { "SELECT_OPTION_101006" }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { 101002 }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_SELECT_OPTION_101006(context, evt) if evt.param1 == 66001 and evt.param2 == 190 and ScriptLib.IsWidgetEquipped(context, ScriptLib.GetSceneOwnerUid(context), 220018) == true then ScriptLib.BeginCameraSceneLook(context, { look_pos = {x = 2354.263,y = 272.9032,z = -686.8663}, duration = 3, is_force = true, is_broadcast = false, is_recover_keep_current = false, delay = 0, is_set_follow_pos =false, is_abs_follow_pos=false, follow_pos = {x=0,y=0,z=0}, is_force_walk =false, is_change_play_mode = false, screen_x = 0, screen_y = 0, is_set_screenXY = false, other_params ={}, keep_rot_type = KeepRotType.Keep_ROT_X, custom_radius = 0}) end return 0 end require "V3_2/PhotographActivity_V2"