|
|
-- {\v/} Domino auto-generated LUA script file
|
|
|
--
|
|
|
-- Script document: domino/user/_dlc_systemiccl/cl.domino.xml
|
|
|
-- User graph: CL_Activation
|
|
|
--
|
|
|
--
|
|
|
-- DO NOT EDIT MANUALLY THIS FILE OR YOUR CHANGES WILL BE LOST!
|
|
|
-- Please modify the original Domino script instead. You have been warned.
|
|
|
|
|
|
-- *** SCRIPT INPUT REFLECTION ***
|
|
|
--[[
|
|
|
<InputReflection />
|
|
|
]]--
|
|
|
-- *** END OF SCRIPT INPUT REFLECTION ***
|
|
|
|
|
|
|
|
|
export = {
|
|
|
};
|
|
|
|
|
|
|
|
|
function export:LuaDependencies()
|
|
|
return {
|
|
|
};
|
|
|
end;
|
|
|
|
|
|
function export:Create(cbox)
|
|
|
-- External box dependencies
|
|
|
cbox:RegisterBox("Domino/Library/common/Common_HUD.Activation_Script.debug.lua");
|
|
|
cbox:RegisterBox("Domino/System/DebugExecuteConsole_v2.lua");
|
|
|
cbox:RegisterBox("Domino/System/SetTimeOfDay.lua");
|
|
|
cbox:RegisterBox("Domino/System/TeleportToSpawnPoint.lua");
|
|
|
end;
|
|
|
|
|
|
function export:Init(cbox)
|
|
|
local l0;
|
|
|
self._name = "CL_Activation";
|
|
|
self._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation";
|
|
|
self.box_Activation_Script_5 = cbox:CreateBox("Domino/Library/common/Common_HUD.Activation_Script.debug.lua");
|
|
|
l0 = self.box_Activation_Script_5;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Activation_Script_5";
|
|
|
l0._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|101601551";
|
|
|
l0.LayerLoaded = DummyFunction;
|
|
|
self.box_Activation_Script_1 = cbox:CreateBox("Domino/Library/common/Common_HUD.Activation_Script.debug.lua");
|
|
|
l0 = self.box_Activation_Script_1;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Activation_Script_1";
|
|
|
l0._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|1010729090";
|
|
|
l0.LayerLoaded = DummyFunction;
|
|
|
self.box_Teleport_To_SpawnPoint_2 = cbox:CreateBox("Domino/System/TeleportToSpawnPoint.lua");
|
|
|
l0 = self.box_Teleport_To_SpawnPoint_2;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Teleport_To_SpawnPoint_2";
|
|
|
l0._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|2108418587";
|
|
|
l0.Out = DummyFunction;
|
|
|
l0.RequestFailed = DummyFunction;
|
|
|
l0.TeleportDone = self.f_box_Teleport_To_SpawnPoint_2_TeleportDone;
|
|
|
end;
|
|
|
|
|
|
function export:ShutDown()
|
|
|
for k,v in pairs(self) do if type(v) == "table" and v.ShutDown ~= self.ShutDown and v ~= self._graph and v.ShutDown ~= nil then v:ShutDown() end end;
|
|
|
end;
|
|
|
|
|
|
function export:In()
|
|
|
local l0;
|
|
|
l0 = self.box_Teleport_To_SpawnPoint_2;
|
|
|
l0.SpawnPoint = "2083441261915675302";
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|671525544", "671525544", "CL_Activation", "In", "box_Teleport_To_SpawnPoint_2.In", self, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:Stop()
|
|
|
local l0;
|
|
|
self:OnEnter_box_Activation_Script_1();
|
|
|
l0 = self.box_Activation_Script_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|1172299948", "1172299948", "CL_Activation", "Stop", "box_Activation_Script_1.Stop", self, l0);
|
|
|
l0:Stop();
|
|
|
l0 = self.box_Activation_Script_5;
|
|
|
l0.Activation_Layer = "Endure_Activation";
|
|
|
l0.Map_Point = "2086326643682443931";
|
|
|
l0.Objective_Trigger = "2086326643682443929";
|
|
|
l0.MapMarkerTitle = {
|
|
|
section = "GPS.MISSIONS",
|
|
|
item = "SideMissionCombatLair",
|
|
|
id = "195836",
|
|
|
};
|
|
|
l0.MapMarkerDesc = {
|
|
|
section = "MISSIONS.SIDE.OBJECTIVES.Contract_Lair.CL_09",
|
|
|
item = "Description",
|
|
|
id = "144915",
|
|
|
};
|
|
|
l0.Mission = "MissionList.661801518";
|
|
|
l0.EntityOnMissionLayer = 1;
|
|
|
l0.IsFixerFantasyCam = 0;
|
|
|
l0.DoFadeOut = 0;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|1058901078", "1058901078", "CL_Activation", "Stop", "box_Activation_Script_5.Stop", self, l0);
|
|
|
l0:Stop();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetTimeOfDay_3_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/SetTimeOfDay.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
l0 = Boxes[PathID("Domino/System/DebugExecuteConsole_v2.lua")];
|
|
|
l0.Command = "playerprogression_unlockallprogressiontree 1";
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_DebugExecuteConsole_v2_4";
|
|
|
l0._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|733109391";
|
|
|
l0.Executed = DummyFunction;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|523506585", "523506585", "CL_Activation", "box_SetTimeOfDay_3.Out", "box_DebugExecuteConsole_v2_4.Execute", clone, l0);
|
|
|
l0:Execute();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Teleport_To_SpawnPoint_2_TeleportDone()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/SetTimeOfDay.lua")];
|
|
|
l0.Hour = 10;
|
|
|
l0.Minute = 0;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_SetTimeOfDay_3";
|
|
|
l0._elementPathId = "DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|879777561";
|
|
|
l0.Out = self.f_box_SetTimeOfDay_3_Out;
|
|
|
l0 = self.box_Teleport_To_SpawnPoint_2;
|
|
|
l1 = Boxes[PathID("Domino/System/SetTimeOfDay.lua")];
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|24158437", "24158437", "CL_Activation", "box_Teleport_To_SpawnPoint_2.TeleportDone", "box_SetTimeOfDay_3.SetTimeOfDay", l0, l1);
|
|
|
l1:SetTimeOfDay();
|
|
|
self:OnEnter_box_Activation_Script_1();
|
|
|
l0 = self.box_Teleport_To_SpawnPoint_2;
|
|
|
l1 = self.box_Activation_Script_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|_DLC_SystemicCL\\CL.domino.xml|@CL_Activation|1064398040", "1064398040", "CL_Activation", "box_Teleport_To_SpawnPoint_2.TeleportDone", "box_Activation_Script_1.In", l0, l1);
|
|
|
l1:In();
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_Activation_Script_1()
|
|
|
local l0;
|
|
|
l0 = self.box_Activation_Script_1;
|
|
|
l0.Activation_Layer = "Activation";
|
|
|
l0.Map_Point = "2086231297151205470";
|
|
|
l0.Objective_Trigger = "2086231302863847520";
|
|
|
l0.MapMarkerTitle = {
|
|
|
section = "GPS.MISSIONS",
|
|
|
item = "SideMissionCombatLair",
|
|
|
id = "195836",
|
|
|
};
|
|
|
l0.MapMarkerDesc = {
|
|
|
section = "MISSIONS.SIDE.OBJECTIVES.Contract_Lair.CL_09",
|
|
|
item = "Description",
|
|
|
id = "144915",
|
|
|
};
|
|
|
l0.Mission = "MissionList.661801518";
|
|
|
l0.EntityOnMissionLayer = 1;
|
|
|
l0.IsFixerFantasyCam = 1;
|
|
|
l0.DoFadeOut = 0;
|
|
|
end;
|
|
|
|
|
|
-- Empty out anchor definitions
|
|
|
_compilerVersion = 4;
|