|
|
-- {\v/} Domino auto-generated LUA script file
|
|
|
--
|
|
|
-- Script document: domino/user/windycity/dlc_sidemissions/systemic_missions/arena_01/arena_01.domino.xml
|
|
|
-- User graph: Arena_01
|
|
|
--
|
|
|
--
|
|
|
-- 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>
|
|
|
<DataIn Name="test" Type="Nomad|DbObject{}" />
|
|
|
</InputReflection>
|
|
|
]]--
|
|
|
-- *** END OF SCRIPT INPUT REFLECTION ***
|
|
|
|
|
|
|
|
|
export = {
|
|
|
};
|
|
|
|
|
|
|
|
|
function export:LuaDependencies()
|
|
|
return {
|
|
|
};
|
|
|
end;
|
|
|
|
|
|
function export:Create(cbox)
|
|
|
-- External box dependencies
|
|
|
cbox:RegisterBox("Domino/System/GetPlayerID.lua");
|
|
|
cbox:RegisterBox("Domino/System/HackableController.lua");
|
|
|
cbox:RegisterBox("Domino/System/LaneRestrictionsControl.lua");
|
|
|
cbox:RegisterBox("Domino/Library/common/SideMissionSignAndFeedback.ObjectivesAndZones.debug.lua");
|
|
|
cbox:RegisterBox("Domino/System/OrderedOutput.lua");
|
|
|
cbox:RegisterBox("Domino/System/SetBoolean_v2.lua");
|
|
|
end;
|
|
|
|
|
|
function export:Init(cbox)
|
|
|
local l0;
|
|
|
self._name = "Arena_01";
|
|
|
self._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01";
|
|
|
self.Flee_Vehicle = nil;
|
|
|
self.Caller = {
|
|
|
};
|
|
|
self.AllNPCs = {
|
|
|
};
|
|
|
self.Drug_Dealer = nil;
|
|
|
self.Patrol_08 = nil;
|
|
|
self.NPCList = {
|
|
|
};
|
|
|
self.Patrol_06 = nil;
|
|
|
self.BaliseOne = "2086130314643506803";
|
|
|
self.Patrol_01 = nil;
|
|
|
self.Patrol_03 = nil;
|
|
|
self.Layer = "Arena_01_Configuration";
|
|
|
self.Checkpoint_Loaded = 0;
|
|
|
self.Patrol_02 = nil;
|
|
|
self.Patrol_07 = nil;
|
|
|
self.Escape_Path = nil;
|
|
|
self.CL09_PathTrigger = "2084878083518630951";
|
|
|
self.BaliseTwo = "2086130321071277686";
|
|
|
self.Target_Is_Dead = 0;
|
|
|
self.Player = nil;
|
|
|
self.Patrol_04 = nil;
|
|
|
self.Patrol_05 = nil;
|
|
|
self.box_SetBoolean_v2_10 = cbox:CreateBox("Domino/System/SetBoolean_v2.lua");
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_SetBoolean_v2_10";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|475952228";
|
|
|
l0.Out = self.f_box_SetBoolean_v2_10_Out;
|
|
|
l0.SetTrue = self.f_box_SetBoolean_v2_10_SetTrue;
|
|
|
l0.SetFalse = self.f_box_SetBoolean_v2_10_SetFalse;
|
|
|
l0.Toggled = self.f_box_SetBoolean_v2_10_Toggled;
|
|
|
l0.SetFromBool = self.f_box_SetBoolean_v2_10_SetFromBool;
|
|
|
self.box_ObjectivesAndZones_32 = cbox:CreateBox("Domino/Library/common/SideMissionSignAndFeedback.ObjectivesAndZones.debug.lua");
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_ObjectivesAndZones_32";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|948945288";
|
|
|
l0.Location_Reached = DummyFunction;
|
|
|
l0.Out = self.f_box_ObjectivesAndZones_32_Out;
|
|
|
l0.Checkpoint_Out = self.f_box_ObjectivesAndZones_32_Checkpoint_Out;
|
|
|
self.box_Hackable_Controller_43 = cbox:CreateBox("Domino/System/HackableController.lua");
|
|
|
l0 = self.box_Hackable_Controller_43;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Hackable_Controller_43";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1552918834";
|
|
|
l0.Enabled = DummyFunction;
|
|
|
l0.Disabled = DummyFunction;
|
|
|
l0.ProfileAssigned = DummyFunction;
|
|
|
l0.ProfileReset = DummyFunction;
|
|
|
l0.ProfilingEnabled = DummyFunction;
|
|
|
l0.ProfilingDisabled = DummyFunction;
|
|
|
l0.HackSecurityLevelSet = DummyFunction;
|
|
|
l0.OccludableSet = DummyFunction;
|
|
|
l0.HackForced = self.f_box_Hackable_Controller_43_HackForced;
|
|
|
l0.OutFakePlayerHoldButton = DummyFunction;
|
|
|
l0.OutFakePlayerUnholdButton = DummyFunction;
|
|
|
l0.NoTextSet = 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:CheckPoint_0()
|
|
|
local l0;
|
|
|
self:OnEnter_box_ObjectivesAndZones_32();
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|279538942", "279538942", "Arena_01", "CheckPoint_0", "box_ObjectivesAndZones_32.Checkpoint0", self, l0);
|
|
|
l0:Checkpoint0();
|
|
|
end;
|
|
|
|
|
|
function export:CheckPoint_1()
|
|
|
local l0;
|
|
|
self:OnEnter_box_ObjectivesAndZones_32();
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1813305967", "1813305967", "Arena_01", "CheckPoint_1", "box_ObjectivesAndZones_32.Checkpoint01", self, l0);
|
|
|
l0:Checkpoint01();
|
|
|
end;
|
|
|
|
|
|
function export:In()
|
|
|
local l0;
|
|
|
self:OnEnter_box_ObjectivesAndZones_32();
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|744887799", "744887799", "Arena_01", "In", "box_ObjectivesAndZones_32.Activate", self, l0);
|
|
|
l0:Activate();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetBoolean_v2_10_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
self.Checkpoint_Loaded = l0.Target;
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetBoolean_v2_10_SetFalse()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
self.Checkpoint_Loaded = l0.Target;
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetBoolean_v2_10_SetFromBool()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
self.Checkpoint_Loaded = l0.Target;
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetBoolean_v2_10_SetTrue()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
self.Checkpoint_Loaded = l0.Target;
|
|
|
self:OnEnter_box_Lanes_Restrictions_Control_19();
|
|
|
l1 = Boxes[PathID("Domino/System/LaneRestrictionsControl.lua")];
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|2015218062", "2015218062", "Arena_01", "box_SetBoolean_v2_10.SetTrue", "box_Lanes_Restrictions_Control_19.In", l0, l1);
|
|
|
l1:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_SetBoolean_v2_10_Toggled()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_SetBoolean_v2_10;
|
|
|
self.Checkpoint_Loaded = l0.Target;
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Get_Player_ID_9_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/GetPlayerID.lua")];
|
|
|
self.Player = l0.PlayerID;
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
l0 = self.box_Hackable_Controller_43;
|
|
|
l0.HackableEntity = "2082999342842870351";
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1803146326", "1803146326", "Arena_01", "box_Get_Player_ID_9.Out", "box_Hackable_Controller_43.ForceHack", clone, l0);
|
|
|
l0:ForceHack();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_ObjectivesAndZones_32_Checkpoint_Out()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
l1 = self.box_SetBoolean_v2_10;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|2015752454", "2015752454", "Arena_01", "box_ObjectivesAndZones_32.Checkpoint_Out", "box_SetBoolean_v2_10.True", l0, l1);
|
|
|
l1:True();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_ObjectivesAndZones_32_Out()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_Lanes_Restrictions_Control_19();
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
l1 = Boxes[PathID("Domino/System/LaneRestrictionsControl.lua")];
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1524110847", "1524110847", "Arena_01", "box_ObjectivesAndZones_32.Out", "box_Lanes_Restrictions_Control_19.In", l0, l1);
|
|
|
l1:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Lanes_Restrictions_Control_19_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/LaneRestrictionsControl.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
l0 = Boxes[PathID("Domino/System/GetPlayerID.lua")];
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Get_Player_ID_9";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|839001071";
|
|
|
l0.Out = self.f_box_Get_Player_ID_9_Out;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1023228348", "1023228348", "Arena_01", "box_Lanes_Restrictions_Control_19.Out", "box_Get_Player_ID_9.In", clone, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Hackable_Controller_43_HackForced()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/OrderedOutput.lua")];
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Ordered_Output_30";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|577449881";
|
|
|
l0._DynamicAnchors = {
|
|
|
Out = 2,
|
|
|
};
|
|
|
l0.Out[0] = DummyFunction;
|
|
|
l0.Out[1] = DummyFunction;
|
|
|
l0 = self.box_Hackable_Controller_43;
|
|
|
l1 = Boxes[PathID("Domino/System/OrderedOutput.lua")];
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1998824996", "1998824996", "Arena_01", "box_Hackable_Controller_43.HackForced", "box_Ordered_Output_30.In", l0, l1);
|
|
|
l1:In();
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_ObjectivesAndZones_32()
|
|
|
local l0;
|
|
|
l0 = self.box_ObjectivesAndZones_32;
|
|
|
l0.Layer = self.Layer;
|
|
|
l0.RestrictedZone = "2086517374724816646";
|
|
|
l0.MissionArea = "2086517437565976350";
|
|
|
l0.RadiusMission = 90;
|
|
|
l0.MapPointZone = "2086517556218642237";
|
|
|
l0.Camera = "2086534768534961393";
|
|
|
l0.OasisID_Mission_name = {
|
|
|
section = "MISSIONS.SIDE.OBJECTIVES.Contract_Lair.CL_09",
|
|
|
item = "Description",
|
|
|
id = "144915",
|
|
|
};
|
|
|
l0.OasisID_Act = {
|
|
|
section = "MISSIONS.SIDE.OBJECTIVES.Contract_Lair.CL_09",
|
|
|
item = "Name",
|
|
|
id = "144914",
|
|
|
};
|
|
|
l0.MultipleTargets = 0;
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_Lanes_Restrictions_Control_19()
|
|
|
local l0;
|
|
|
l0 = Boxes[PathID("Domino/System/LaneRestrictionsControl.lua")];
|
|
|
l0.LaneRestrictionsController = "2086517431926734621";
|
|
|
l0.RestrictTraffic = nil;
|
|
|
l0.RestrictPedestrians = nil;
|
|
|
l0.RestrictParking = nil;
|
|
|
l0.ResetLivingCity = 1;
|
|
|
l0.ResetMissionWithLivingCity = nil;
|
|
|
l0.CivilianDensityDbObject = nil;
|
|
|
l0.ParkedCarsDensityDbObject = nil;
|
|
|
l0.TrafficDensityScale = nil;
|
|
|
l0.ApplyToEnticers = nil;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Lanes_Restrictions_Control_19";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\systemic_missions\\arena_01\\arena_01.domino.xml|@Arena_01|1150864533";
|
|
|
l0.Out = self.f_box_Lanes_Restrictions_Control_19_Out;
|
|
|
end;
|
|
|
|
|
|
-- Empty out anchor definitions
|
|
|
_compilerVersion = 4;
|