Files
hk4e-go/gdconf/game_data_config/lua/scene/50041/scene50041_group250041005.lua
T
2022-11-30 00:00:20 +08:00

526 lines
23 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 基础信息
local base_info = {
group_id = 250041005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70360002, pos = { x = -1.893, y = 45.590, z = -98.517 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70950010, pos = { x = 16.834, y = 45.938, z = -100.464 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5004, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5005, gadget_id = 70950010, pos = { x = 28.633, y = 50.233, z = -100.464 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5006, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5008, gadget_id = 70950010, pos = { x = 38.392, y = 53.785, z = -100.464 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5009, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5010, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5011, gadget_id = 70950010, pos = { x = 61.017, y = 59.293, z = -100.464 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5012, gadget_id = 70950010, pos = { x = 74.568, y = 61.035, z = -100.464 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5013, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5014, gadget_id = 70320002, pos = { x = 101.975, y = 70.849, z = -101.979 }, rot = { x = 15.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5015, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5016, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5018, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5019, gadget_id = 70320002, pos = { x = 101.975, y = 70.849, z = -104.860 }, rot = { x = 15.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5020, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5021, gadget_id = 70950010, pos = { x = 15.955, y = 45.618, z = -115.198 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5022, gadget_id = 70950010, pos = { x = 37.413, y = 53.428, z = -115.238 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5023, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5024, gadget_id = 70950010, pos = { x = 54.853, y = 57.342, z = -115.238 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5025, gadget_id = 70320002, pos = { x = 101.975, y = 70.849, z = -107.891 }, rot = { x = 15.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5026, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5027, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5028, gadget_id = 70320002, pos = { x = 101.975, y = 70.849, z = -110.942 }, rot = { x = 15.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5029, gadget_id = 70950010, pos = { x = 77.794, y = 65.400, z = -115.238 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5030, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5031, gadget_id = 70950010, pos = { x = 89.688, y = 66.538, z = -115.238 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5032, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5033, gadget_id = 70950010, pos = { x = 89.135, y = 65.328, z = -115.238 }, rot = { x = 0.000, y = 0.000, z = 20.000 }, level = 1 },
{ config_id = 5034, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5035, gadget_id = 70120004, pos = { x = 110.095, y = 71.190, z = -107.770 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5048, gadget_id = 70320002, pos = { x = 101.975, y = 70.849, z = -113.788 }, rot = { x = 15.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 5049, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5050, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5051, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5052, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5054, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5055, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5056, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5057, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5058, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5059, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5060, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5063, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5064, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5065, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5066, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5067, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5068, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5069, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5071, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -113.985 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11 },
{ config_id = 5072, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 },
{ config_id = 5074, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5075, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5077, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -111.016 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 10 },
{ config_id = 5078, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -108.013 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 9 },
{ config_id = 5079, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -101.979 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 7 },
{ config_id = 5080, gadget_id = 70350138, pos = { x = 99.792, y = 71.726, z = -105.017 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 8 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1005002, name = "SELECT_OPTION_5002", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5002", action = "action_EVENT_SELECT_OPTION_5002" },
{ config_id = 1005007, name = "CHALLENGE_FAIL_5007", event = EventType.EVENT_CHALLENGE_FAIL, source = "666", condition = "", action = "action_EVENT_CHALLENGE_FAIL_5007" },
{ config_id = 1005036, name = "GADGET_CREATE_5036", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_5036", action = "action_EVENT_GADGET_CREATE_5036" },
{ config_id = 1005037, name = "SELECT_OPTION_5037", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5037", action = "action_EVENT_SELECT_OPTION_5037" },
{ config_id = 1005038, name = "TIMER_EVENT_5038", event = EventType.EVENT_TIMER_EVENT, source = "AA10", condition = "", action = "action_EVENT_TIMER_EVENT_5038", trigger_count = 10 },
{ config_id = 1005039, name = "TIMER_EVENT_5039", event = EventType.EVENT_TIMER_EVENT, source = "AA9", condition = "", action = "action_EVENT_TIMER_EVENT_5039", trigger_count = 10 },
{ config_id = 1005040, name = "TIMER_EVENT_5040", event = EventType.EVENT_TIMER_EVENT, source = "AA8", condition = "", action = "action_EVENT_TIMER_EVENT_5040", trigger_count = 10 },
{ config_id = 1005041, name = "TIMER_EVENT_5041", event = EventType.EVENT_TIMER_EVENT, source = "AA7", condition = "", action = "action_EVENT_TIMER_EVENT_5041", trigger_count = 10 },
{ config_id = 1005042, name = "TIMER_EVENT_5042", event = EventType.EVENT_TIMER_EVENT, source = "AA6", condition = "", action = "action_EVENT_TIMER_EVENT_5042", trigger_count = 10 },
{ config_id = 1005043, name = "TIMER_EVENT_5043", event = EventType.EVENT_TIMER_EVENT, source = "AA5", condition = "", action = "action_EVENT_TIMER_EVENT_5043", trigger_count = 10 },
{ config_id = 1005044, name = "TIMER_EVENT_5044", event = EventType.EVENT_TIMER_EVENT, source = "AA4", condition = "", action = "action_EVENT_TIMER_EVENT_5044", trigger_count = 10 },
{ config_id = 1005045, name = "TIMER_EVENT_5045", event = EventType.EVENT_TIMER_EVENT, source = "AA3", condition = "", action = "action_EVENT_TIMER_EVENT_5045", trigger_count = 10 },
{ config_id = 1005046, name = "TIMER_EVENT_5046", event = EventType.EVENT_TIMER_EVENT, source = "AA2", condition = "", action = "action_EVENT_TIMER_EVENT_5046", trigger_count = 10 },
{ config_id = 1005047, name = "TIMER_EVENT_5047", event = EventType.EVENT_TIMER_EVENT, source = "AA1", condition = "", action = "action_EVENT_TIMER_EVENT_5047", trigger_count = 10 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001 },
regions = { },
triggers = { "SELECT_OPTION_5002", "CHALLENGE_FAIL_5007", "GADGET_CREATE_5036", "SELECT_OPTION_5037", "TIMER_EVENT_5038", "TIMER_EVENT_5039", "TIMER_EVENT_5040", "TIMER_EVENT_5041", "TIMER_EVENT_5042", "TIMER_EVENT_5043", "TIMER_EVENT_5044", "TIMER_EVENT_5045", "TIMER_EVENT_5046", "TIMER_EVENT_5047" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 5049, 5050, 5051, 5052 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 5077, 5078, 5079, 5080 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 5004, 5006, 5009 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 5010, 5013, 5015, 5016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 5018, 5020, 5023 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = ,
monsters = { },
gadgets = { 5026, 5027, 5030, 5032 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = ,
monsters = { },
gadgets = { 5034, 5054, 5055, 5056 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 9,
-- description = ,
monsters = { },
gadgets = { 5057, 5058, 5059, 5060 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 10,
-- description = ,
monsters = { },
gadgets = { 5063, 5064, 5065, 5066 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 11,
-- description = ,
monsters = { },
gadgets = { 5067, 5068, 5069, 5071 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 12,
-- description = ,
monsters = { },
gadgets = { 5072, 5074, 5075 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 13,
-- description = ,
monsters = { },
gadgets = { 5003, 5005, 5008, 5011, 5012, 5014, 5019, 5021, 5022, 5024, 5025, 5028, 5029, 5031, 5033, 5035, 5048 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SELECT_OPTION_5002(context, evt)
-- 判断是gadgetid 5001 option_id 2
if 5001 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_5002(context, evt)
-- 创建编号为666(该挑战的识别id),挑战内容为127的区域挑战,具体参数填写方式,见DungeonChallengeData表中的注释,所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 666, 127, 90, 4, 666, 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_5007(context, evt)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250041005, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 250041005, "AA1") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 250041005, "AA3") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 250041005, "AA5") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 250041005, "AA7") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
-- 取消group中对应名称的TimerEvent
if 0 ~= ScriptLib.CancelGroupTimerEvent(context, 250041005, "AA9") then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cancel_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_5036(context, evt)
if 5001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_5036(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptions(context, {2}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_5037(context, evt)
-- 判断是gadgetid 5001 option_id 2
if 5001 ~= evt.param1 then
return false
end
if 2 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_5037(context, evt)
-- 延迟1秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA1", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
-- 添加suite13的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 13)
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250041002, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250041003, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 重新生成指定group,指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250041004, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5038(context, evt)
-- 添加suite12的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 12)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA1" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA1", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5039(context, evt)
-- 添加suite11的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 11)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA10" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA10", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5040(context, evt)
-- 添加suite10的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 10)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA9" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA9", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5041(context, evt)
-- 添加suite9的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 9)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA8" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA8", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5042(context, evt)
-- 添加suite8的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 8)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA7" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA7", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5043(context, evt)
-- 添加suite7的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 7)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA6" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA6", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5044(context, evt)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 6)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA5" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA5", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5045(context, evt)
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 5)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA4" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA4", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5046(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 4)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA3" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA3", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_5047(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 250041005, 3)
-- 延迟4秒后,向groupId为:250041005的对象,请求一次调用,并将string参数:"AA2" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 250041005, "AA2", 4) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end