-- 基础信息 local base_info = { group_id = 166001229 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { -- 请在这个gadget的Temp content里配上绳子应该消失的高度 { config_id = 229001, gadget_id = 70380303, pos = { x = 1006.975, y = 1016.075, z = 872.355 }, rot = { x = 0.000, y = 121.058, z = 0.000 }, level = 27, route_id = 600100022, persistent = true, server_global_value_config = { ["SGV_Elevator_Height"]= 1086.8}, area_id = 300 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1229002, name = "AVATAR_NEAR_PLATFORM_229002", event = EventType.EVENT_AVATAR_NEAR_PLATFORM, source = "", condition = "condition_EVENT_AVATAR_NEAR_PLATFORM_229002", action = "action_EVENT_AVATAR_NEAR_PLATFORM_229002", trigger_count = 0 } } -- 变量 variables = { { config_id = 1, name = "pos", value = 0, no_refresh = false } } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 229001 }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_AVATAR_NEAR_PLATFORM_229002(context, evt) if 229001 ~= evt.param1 then return false end return true end -- 触发操作 function action_EVENT_AVATAR_NEAR_PLATFORM_229002(context, evt) -- 启动移动平台 if 0 ~= ScriptLib.StartPlatform(context, 229001) then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform") return -1 end return 0 end