The decompiled versions of all \domino\ scripts found in Watch_Dogs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

162 lines
3.8 KiB

-- {\v/} Domino auto-generated LUA script file
--
-- Script document: domino/user/windycity/main_missions/act_01/mission_template/a00_m00.domino.xml
-- User graph: A00_M00_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/System/MapPointController_v3.lua");
cbox:RegisterBox("Domino/System/MissionController.lua");
cbox:RegisterBox("Domino/System/MissionLayer_v2.lua");
cbox:RegisterBox("Domino/System/TextMessageBox_v4.lua");
cbox:RegisterBox("Domino/System/TriggerMonitor_v2.lua");
end;
function export:Init(cbox)
local l0;
self.LayerName = "A00_M00_Activation";
self[2] = cbox:CreateBox("Domino/System/MapPointController_v3.lua");
l0 = self[2];
l0._graph = self;
l0.Shown = DummyFunction;
l0.Hidden = self.f_2_Hidden;
l0.TextSet = DummyFunction;
l0.TextHidden = DummyFunction;
self[1] = cbox:CreateBox("Domino/System/TextMessageBox_v4.lua");
l0 = self[1];
l0._graph = self;
l0.Displayed = self.f_1_Displayed;
l0.Hidden = DummyFunction;
l0.Finished = DummyFunction;
l0.Out = DummyFunction;
self[4] = cbox:CreateBox("Domino/System/MissionLayer_v2.lua");
l0 = self[4];
l0._graph = self;
l0.Loaded = DummyFunction;
l0.Unloaded = self.f_4_Unloaded;
l0.Reseted = DummyFunction;
self[3] = cbox:CreateBox("Domino/System/MissionLayer_v2.lua");
l0 = self[3];
l0._graph = self;
l0.Loaded = self.f_3_Loaded;
l0.Unloaded = DummyFunction;
l0.Reseted = DummyFunction;
self[6] = cbox:CreateBox("Domino/System/TriggerMonitor_v2.lua");
l0 = self[6];
l0._graph = self;
l0.Enabled = self.f_6_Enabled;
l0.Disabled = self.f_6_Disabled;
l0.Enter = self.f_6_Enter;
l0.Leave = DummyFunction;
l0.Use = DummyFunction;
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[3];
l0.LayerName = self.LayerName;
l0:Load();
end;
function export:f_2_Hidden()
local l0;
self = self._graph;
l0 = self[4];
l0.LayerName = self.LayerName;
l0:Unload();
end;
function export:f_1_Displayed()
local l0;
self = self._graph;
self:en_6();
l0 = self[6];
l0:Enable();
end;
function export:f_4_Unloaded()
local l0;
self = self._graph;
l0 = Boxes[PathID("Domino/System/MissionController.lua")];
l0.Mission = nil;
l0.MissionName = "Main_Missions.A00_M00";
l0._graph = self;
l0.Out = DummyFunction;
l0:Stop();
end;
function export:f_3_Loaded()
local l0;
self = self._graph;
l0 = self[1];
l0.MessageType = "Lead";
l0.OasisID = {
section = "MISSIONS.MAIN.OBJECTIVES.Act1.Lead_TEMPLATE.Mission_TEMPLATE.Objective_TEMPLATE",
item = "",
id = "-1",
};
l0:DisplayToLocalPlayer();
end;
function export:f_6_Disabled()
local l0;
self = self._graph;
self:en_2();
l0 = self[2];
l0:Hide();
end;
function export:f_6_Enabled()
local l0;
self = self._graph;
self:en_2();
l0 = self[2];
l0:Show();
end;
function export:f_6_Enter()
local l0;
self = self._graph;
self:en_6();
l0 = self[6];
l0:Disable();
end;
function export:en_2()
local l0;
l0 = self[2];
l0.MapPoint = nil;
end;
function export:en_6()
local l0;
l0 = self[6];
l0.Trigger = nil;
end;
-- Empty out anchor definitions
_compilerVersion = 4;