|
|
-- {\v/} Domino auto-generated LUA script file
|
|
|
--
|
|
|
-- Script document: domino/user/windycity/dlc/mission_07/dlc_m07.domino.xml
|
|
|
-- User graph: DLC_M07_detect
|
|
|
--
|
|
|
--
|
|
|
-- 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="ActiveWatchers" Type="Core|list" />
|
|
|
<DataIn Name="Bedbug" Type="Nomad|entity{}" />
|
|
|
</InputReflection>
|
|
|
]]--
|
|
|
-- *** END OF SCRIPT INPUT REFLECTION ***
|
|
|
|
|
|
|
|
|
export = {
|
|
|
};
|
|
|
|
|
|
|
|
|
function export:LuaDependencies()
|
|
|
return {
|
|
|
};
|
|
|
end;
|
|
|
|
|
|
function export:Create(cbox)
|
|
|
-- External box dependencies
|
|
|
cbox:RegisterBox("Domino/System/AgentStateMonitor_v2.lua");
|
|
|
cbox:RegisterBox("Domino/System/MultipleAND.lua");
|
|
|
cbox:RegisterBox("Domino/System/OnceOnly_v2.lua");
|
|
|
cbox:RegisterBox("Domino/System/SimpleNode.lua");
|
|
|
cbox:RegisterBox("Domino/System/TestIfNil.lua");
|
|
|
end;
|
|
|
|
|
|
function export:Init(cbox)
|
|
|
local l0;
|
|
|
self._name = "DLC_M07_detect";
|
|
|
self._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect";
|
|
|
self.Enabled = DummyFunction;
|
|
|
self.Disabled = DummyFunction;
|
|
|
self.Detected = DummyFunction;
|
|
|
self.box_AgentStateMonitor_V2_3 = cbox:CreateBox("Domino/System/AgentStateMonitor_v2.lua");
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_AgentStateMonitor_V2_3";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1017104874";
|
|
|
l0.Enabled = self.f_box_AgentStateMonitor_V2_3_Enabled;
|
|
|
l0.Disabled = self.f_box_AgentStateMonitor_V2_3_Disabled;
|
|
|
l0.PauseState = DummyFunction;
|
|
|
l0.InterruptibleCinematicState = DummyFunction;
|
|
|
l0.UnawareState = DummyFunction;
|
|
|
l0.AwareState = DummyFunction;
|
|
|
l0.AlertSoftState = DummyFunction;
|
|
|
l0.AlertHardState = self.f_box_AgentStateMonitor_V2_3_AlertHardState;
|
|
|
l0.FleeState = DummyFunction;
|
|
|
l0.CombatState = self.f_box_AgentStateMonitor_V2_3_CombatState;
|
|
|
l0.ScriptedState = DummyFunction;
|
|
|
l0.InvestigateState = DummyFunction;
|
|
|
l0.PostCombatSearchState = DummyFunction;
|
|
|
l0.CinematicMode_Interrupted = DummyFunction;
|
|
|
l0.DetectionIntuitionStarted = DummyFunction;
|
|
|
l0.DetectionIntuitionStopped = DummyFunction;
|
|
|
l0.DetectionIntuitionFull = DummyFunction;
|
|
|
l0.DetectionAlertStarted = DummyFunction;
|
|
|
l0.DetectionAlertStopped = DummyFunction;
|
|
|
l0.DetectionAlertFull = DummyFunction;
|
|
|
l0.IsDistracted = DummyFunction;
|
|
|
self.box_Multiple_AND_1 = cbox:CreateBox("Domino/System/MultipleAND.lua");
|
|
|
l0 = self.box_Multiple_AND_1;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Multiple_AND_1";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1298800383";
|
|
|
l0._DynamicAnchors = {
|
|
|
Condition = 2,
|
|
|
};
|
|
|
l0.Out = self.f_box_Multiple_AND_1_Out;
|
|
|
self.box_AgentStateMonitor_V2_4 = cbox:CreateBox("Domino/System/AgentStateMonitor_v2.lua");
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_AgentStateMonitor_V2_4";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1536450153";
|
|
|
l0.Enabled = self.f_box_AgentStateMonitor_V2_4_Enabled;
|
|
|
l0.Disabled = self.f_box_AgentStateMonitor_V2_4_Disabled;
|
|
|
l0.PauseState = DummyFunction;
|
|
|
l0.InterruptibleCinematicState = DummyFunction;
|
|
|
l0.UnawareState = DummyFunction;
|
|
|
l0.AwareState = DummyFunction;
|
|
|
l0.AlertSoftState = self.f_box_AgentStateMonitor_V2_4_AlertSoftState;
|
|
|
l0.AlertHardState = self.f_box_AgentStateMonitor_V2_4_AlertHardState;
|
|
|
l0.FleeState = DummyFunction;
|
|
|
l0.CombatState = self.f_box_AgentStateMonitor_V2_4_CombatState;
|
|
|
l0.ScriptedState = DummyFunction;
|
|
|
l0.InvestigateState = DummyFunction;
|
|
|
l0.PostCombatSearchState = DummyFunction;
|
|
|
l0.CinematicMode_Interrupted = DummyFunction;
|
|
|
l0.DetectionIntuitionStarted = DummyFunction;
|
|
|
l0.DetectionIntuitionStopped = DummyFunction;
|
|
|
l0.DetectionIntuitionFull = DummyFunction;
|
|
|
l0.DetectionAlertStarted = DummyFunction;
|
|
|
l0.DetectionAlertStopped = DummyFunction;
|
|
|
l0.DetectionAlertFull = DummyFunction;
|
|
|
l0.IsDistracted = DummyFunction;
|
|
|
self.box_OnceOnly_v2_2 = cbox:CreateBox("Domino/System/OnceOnly_v2.lua");
|
|
|
l0 = self.box_OnceOnly_v2_2;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_OnceOnly_v2_2";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1703110121";
|
|
|
l0._DynamicAnchors = {
|
|
|
In = 1,
|
|
|
Out = 1,
|
|
|
};
|
|
|
l0.Out[0] = self.f_box_OnceOnly_v2_2_Out_0;
|
|
|
l0.ResetOut = DummyFunction;
|
|
|
self.box_Multiple_AND_11 = cbox:CreateBox("Domino/System/MultipleAND.lua");
|
|
|
l0 = self.box_Multiple_AND_11;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Multiple_AND_11";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1703756330";
|
|
|
l0._DynamicAnchors = {
|
|
|
Condition = 2,
|
|
|
};
|
|
|
l0.Out = self.f_box_Multiple_AND_11_Out;
|
|
|
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:Disable()
|
|
|
local l0;
|
|
|
l0 = Boxes[PathID("Domino/System/SimpleNode.lua")];
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Simple_Node_10";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|478159492";
|
|
|
l0.Out = self.f_box_Simple_Node_10_Out;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1670851483", "1670851483", "DLC_M07_detect", "Disable", "box_Simple_Node_10.In", self, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:Enable()
|
|
|
local l0;
|
|
|
l0 = Boxes[PathID("Domino/System/SimpleNode.lua")];
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Simple_Node_5";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1820201785";
|
|
|
l0.Out = self.f_box_Simple_Node_5_Out;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|878642725", "878642725", "DLC_M07_detect", "Enable", "box_Simple_Node_5.In", self, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_6_Is_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_Multiple_AND_1();
|
|
|
l0 = self.box_Multiple_AND_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1438394665", "1438394665", "DLC_M07_detect", "box_Test_if_Nil_6.Is_nil", "box_Multiple_AND_1.Condition", clone, l0);
|
|
|
l0:Condition(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_6_Is_not_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_AgentStateMonitor_V2_4();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|532855145", "532855145", "DLC_M07_detect", "box_Test_if_Nil_6.Is_not_nil", "box_AgentStateMonitor_V2_4.Enable", clone, l0);
|
|
|
l0:Enable();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Simple_Node_10_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/SimpleNode.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
l0.Integer = nil;
|
|
|
l0.Float = nil;
|
|
|
l0.Boolean = nil;
|
|
|
l0.String = nil;
|
|
|
l0.Entity = self.Bedbug;
|
|
|
l0.Animation = nil;
|
|
|
l0.Player = nil;
|
|
|
l0.Oasis = nil;
|
|
|
l0.List = nil;
|
|
|
l0.Sound = nil;
|
|
|
l0.DBObject = nil;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Test_if_Nil_8";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|870970227";
|
|
|
l0.Is_nil = self.f_box_Test_if_Nil_8_Is_nil;
|
|
|
l0.Is_not_nil = self.f_box_Test_if_Nil_8_Is_not_nil;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|276693316", "276693316", "DLC_M07_detect", "box_Simple_Node_10.Out", "box_Test_if_Nil_8.In", clone, l0);
|
|
|
l0:In();
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
l0.Integer = nil;
|
|
|
l0.Float = nil;
|
|
|
l0.Boolean = nil;
|
|
|
l0.String = nil;
|
|
|
l0.Entity = nil;
|
|
|
l0.Animation = nil;
|
|
|
l0.Player = nil;
|
|
|
l0.Oasis = nil;
|
|
|
l0.List = self.ActiveWatchers;
|
|
|
l0.Sound = nil;
|
|
|
l0.DBObject = nil;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Test_if_Nil_7";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|2119272501";
|
|
|
l0.Is_nil = self.f_box_Test_if_Nil_7_Is_nil;
|
|
|
l0.Is_not_nil = self.f_box_Test_if_Nil_7_Is_not_nil;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1328322668", "1328322668", "DLC_M07_detect", "box_Simple_Node_10.Out", "box_Test_if_Nil_7.In", clone, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_8_Is_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_Multiple_AND_11();
|
|
|
l0 = self.box_Multiple_AND_11;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|929539205", "929539205", "DLC_M07_detect", "box_Test_if_Nil_8.Is_nil", "box_Multiple_AND_11.Condition", clone, l0);
|
|
|
l0:Condition(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_8_Is_not_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_AgentStateMonitor_V2_4();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|912359666", "912359666", "DLC_M07_detect", "box_Test_if_Nil_8.Is_not_nil", "box_AgentStateMonitor_V2_4.Disable", clone, l0);
|
|
|
l0:Disable();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_3_AlertHardState()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_OnceOnly_v2_2();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l1 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|836203448", "836203448", "DLC_M07_detect", "box_AgentStateMonitor_V2_3.AlertHardState", "box_OnceOnly_v2_2.In", l0, l1);
|
|
|
l1:In(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_3_CombatState()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_OnceOnly_v2_2();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l1 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1958156411", "1958156411", "DLC_M07_detect", "box_AgentStateMonitor_V2_3.CombatState", "box_OnceOnly_v2_2.In", l0, l1);
|
|
|
l1:In(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_3_Disabled()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_Multiple_AND_11();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l1 = self.box_Multiple_AND_11;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1721672437", "1721672437", "DLC_M07_detect", "box_AgentStateMonitor_V2_3.Disabled", "box_Multiple_AND_11.Condition", l0, l1);
|
|
|
l1:Condition(1);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_3_Enabled()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_Multiple_AND_1();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l1 = self.box_Multiple_AND_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1335484559", "1335484559", "DLC_M07_detect", "box_AgentStateMonitor_V2_3.Enabled", "box_Multiple_AND_1.Condition", l0, l1);
|
|
|
l1:Condition(1);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Multiple_AND_1_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_Multiple_AND_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1600183843", "1600183843", "DLC_M07_detect", "box_Multiple_AND_1.Out", "Enabled", l0, self);
|
|
|
self:Enabled();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_4_AlertHardState()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_OnceOnly_v2_2();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l1 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|169925076", "169925076", "DLC_M07_detect", "box_AgentStateMonitor_V2_4.AlertHardState", "box_OnceOnly_v2_2.In", l0, l1);
|
|
|
l1:In(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_4_AlertSoftState()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_OnceOnly_v2_2();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l1 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1001040806", "1001040806", "DLC_M07_detect", "box_AgentStateMonitor_V2_4.AlertSoftState", "box_OnceOnly_v2_2.In", l0, l1);
|
|
|
l1:In(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_4_CombatState()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_OnceOnly_v2_2();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l1 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1138614543", "1138614543", "DLC_M07_detect", "box_AgentStateMonitor_V2_4.CombatState", "box_OnceOnly_v2_2.In", l0, l1);
|
|
|
l1:In(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_4_Disabled()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_Multiple_AND_11();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l1 = self.box_Multiple_AND_11;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1792467740", "1792467740", "DLC_M07_detect", "box_AgentStateMonitor_V2_4.Disabled", "box_Multiple_AND_11.Condition", l0, l1);
|
|
|
l1:Condition(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_AgentStateMonitor_V2_4_Enabled()
|
|
|
local l0, l1;
|
|
|
self = self._graph;
|
|
|
self:OnEnter_box_Multiple_AND_1();
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l1 = self.box_Multiple_AND_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1902695541", "1902695541", "DLC_M07_detect", "box_AgentStateMonitor_V2_4.Enabled", "box_Multiple_AND_1.Condition", l0, l1);
|
|
|
l1:Condition(0);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_OnceOnly_v2_2_Out_0()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_OnceOnly_v2_2;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|426377697", "426377697", "DLC_M07_detect", "box_OnceOnly_v2_2.Out", "Detected", l0, self);
|
|
|
self:Detected();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Multiple_AND_11_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = self.box_Multiple_AND_11;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|55460870", "55460870", "DLC_M07_detect", "box_Multiple_AND_11.Out", "Disabled", l0, self);
|
|
|
self:Disabled();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Simple_Node_5_Out()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/SimpleNode.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
l0.Integer = nil;
|
|
|
l0.Float = nil;
|
|
|
l0.Boolean = nil;
|
|
|
l0.String = nil;
|
|
|
l0.Entity = nil;
|
|
|
l0.Animation = nil;
|
|
|
l0.Player = nil;
|
|
|
l0.Oasis = nil;
|
|
|
l0.List = self.ActiveWatchers;
|
|
|
l0.Sound = nil;
|
|
|
l0.DBObject = nil;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Test_if_Nil_9";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|2057632154";
|
|
|
l0.Is_nil = self.f_box_Test_if_Nil_9_Is_nil;
|
|
|
l0.Is_not_nil = self.f_box_Test_if_Nil_9_Is_not_nil;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|140443231", "140443231", "DLC_M07_detect", "box_Simple_Node_5.Out", "box_Test_if_Nil_9.In", clone, l0);
|
|
|
l0:In();
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
l0.Integer = nil;
|
|
|
l0.Float = nil;
|
|
|
l0.Boolean = nil;
|
|
|
l0.String = nil;
|
|
|
l0.Entity = self.Bedbug;
|
|
|
l0.Animation = nil;
|
|
|
l0.Player = nil;
|
|
|
l0.Oasis = nil;
|
|
|
l0.List = nil;
|
|
|
l0.Sound = nil;
|
|
|
l0.DBObject = nil;
|
|
|
l0._graph = self;
|
|
|
l0._name = "box_Test_if_Nil_6";
|
|
|
l0._elementPathId = "DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|217427200";
|
|
|
l0.Is_nil = self.f_box_Test_if_Nil_6_Is_nil;
|
|
|
l0.Is_not_nil = self.f_box_Test_if_Nil_6_Is_not_nil;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|849999809", "849999809", "DLC_M07_detect", "box_Simple_Node_5.Out", "box_Test_if_Nil_6.In", clone, l0);
|
|
|
l0:In();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_9_Is_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_Multiple_AND_1();
|
|
|
l0 = self.box_Multiple_AND_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|65187501", "65187501", "DLC_M07_detect", "box_Test_if_Nil_9.Is_nil", "box_Multiple_AND_1.Condition", clone, l0);
|
|
|
l0:Condition(1);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_9_Is_not_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_AgentStateMonitor_V2_3();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1416990462", "1416990462", "DLC_M07_detect", "box_Test_if_Nil_9.Is_not_nil", "box_AgentStateMonitor_V2_3.Enable", clone, l0);
|
|
|
l0:Enable();
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_7_Is_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_Multiple_AND_11();
|
|
|
l0 = self.box_Multiple_AND_11;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|1117499823", "1117499823", "DLC_M07_detect", "box_Test_if_Nil_7.Is_nil", "box_Multiple_AND_11.Condition", clone, l0);
|
|
|
l0:Condition(1);
|
|
|
end;
|
|
|
|
|
|
function export:f_box_Test_if_Nil_7_Is_not_nil()
|
|
|
local l0;
|
|
|
self = self._graph;
|
|
|
l0 = Boxes[PathID("Domino/System/TestIfNil.lua")];
|
|
|
local clone = {}; for k,v in pairs(l0) do clone[k] = v end;
|
|
|
self:OnEnter_box_AgentStateMonitor_V2_3();
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc\\mission_07\\dlc_m07.domino.xml|@DLC_M07_detect|791587870", "791587870", "DLC_M07_detect", "box_Test_if_Nil_7.Is_not_nil", "box_AgentStateMonitor_V2_3.Disable", clone, l0);
|
|
|
l0:Disable();
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_AgentStateMonitor_V2_3()
|
|
|
local l0;
|
|
|
l0 = self.box_AgentStateMonitor_V2_3;
|
|
|
l0.NPCList = self.ActiveWatchers;
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_Multiple_AND_1()
|
|
|
local l0;
|
|
|
l0 = self.box_Multiple_AND_1;
|
|
|
l0.AutoReset = 1;
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_AgentStateMonitor_V2_4()
|
|
|
local l0;
|
|
|
l0 = self.box_AgentStateMonitor_V2_4;
|
|
|
l0.NPC = self.Bedbug;
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_OnceOnly_v2_2()
|
|
|
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_Multiple_AND_11()
|
|
|
local l0;
|
|
|
l0 = self.box_Multiple_AND_11;
|
|
|
l0.AutoReset = 1;
|
|
|
end;
|
|
|
|
|
|
-- Empty out anchor definitions
|
|
|
function export:Enabled()
|
|
|
|
|
|
end;
|
|
|
function export:Disabled()
|
|
|
|
|
|
end;
|
|
|
function export:Detected()
|
|
|
|
|
|
end;
|
|
|
_compilerVersion = 4;
|