|
|
-- {\v/} Domino auto-generated LUA script file
|
|
|
--
|
|
|
-- Script document: domino/user/windycity/dlc_sidemissions/speed_drive/speed_m07/speed_m07.domino.xml
|
|
|
-- User graph: Speed_M07_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");
|
|
|
end;
|
|
|
|
|
|
function export:Init(cbox)
|
|
|
local l0;
|
|
|
self._name = "Speed_M07_Activation";
|
|
|
self._elementPathId = "DocumentContainer|windycity\\dlc_sidemissions\\speed_drive\\speed_m07\\speed_m07.domino.xml|@Speed_M07_Activation";
|
|
|
self.Yellow = "2084597565117986541";
|
|
|
self.SpeedMin = 70;
|
|
|
self.MaxSpeed = 70;
|
|
|
self.CarMapPointIcon = "2084775700036249895";
|
|
|
self.CarSpeed = 0;
|
|
|
self.CheckpointID = 0;
|
|
|
self.SpeedCondition = 0;
|
|
|
self.FailCondition2 = 0;
|
|
|
self.Player = nil;
|
|
|
self.BollardListToOpen = {
|
|
|
};
|
|
|
self.TimeCounter = 0;
|
|
|
self.BollardListToClose = {
|
|
|
};
|
|
|
self.Car_Speed = "CarSpeed";
|
|
|
self.LocationMarkers = {
|
|
|
};
|
|
|
self.BankedTime = 0;
|
|
|
self.Bollard_01 = "2083084195994874690";
|
|
|
self.PlayerCar = nil;
|
|
|
self.Red = "2084597565669537518";
|
|
|
self.CarSpawn = "2084775691781859618";
|
|
|
self.Green = "2084597564627252972";
|
|
|
self.MissionStartPoint01 = "2087876544176325603";
|
|
|
self.ProximityTrigger01 = "2084777311785197289";
|
|
|
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|windycity\\dlc_sidemissions\\speed_drive\\speed_m07\\speed_m07.domino.xml|@Speed_M07_Activation|599493549";
|
|
|
l0.LayerLoaded = 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;
|
|
|
self:OnEnter_box_Activation_Script_1();
|
|
|
l0 = self.box_Activation_Script_1;
|
|
|
CDominoManager_GetInstance():TraceConnection("DocumentContainer|windycity\\dlc_sidemissions\\speed_drive\\speed_m07\\speed_m07.domino.xml|@Speed_M07_Activation|1821096250", "1821096250", "Speed_M07_Activation", "In", "box_Activation_Script_1.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|windycity\\dlc_sidemissions\\speed_drive\\speed_m07\\speed_m07.domino.xml|@Speed_M07_Activation|1352261038", "1352261038", "Speed_M07_Activation", "Stop", "box_Activation_Script_1.Stop", self, l0);
|
|
|
l0:Stop();
|
|
|
end;
|
|
|
|
|
|
function export:OnEnter_box_Activation_Script_1()
|
|
|
local l0;
|
|
|
l0 = self.box_Activation_Script_1;
|
|
|
l0.Activation_Layer = "Speed_M07_Activation";
|
|
|
l0.Map_Point = self.MissionStartPoint01;
|
|
|
l0.Objective_Trigger = self.ProximityTrigger01;
|
|
|
l0.MapMarkerTitle = {
|
|
|
section = "MISSIONS.DLC.SIDE.DRIVING CONTRACTS.Speed",
|
|
|
item = "Act_Name",
|
|
|
id = "10004749",
|
|
|
};
|
|
|
l0.MapMarkerDesc = {
|
|
|
section = "MISSIONS.DLC.SIDE.DRIVING CONTRACTS.Speed.Speed07",
|
|
|
item = "PDA_Name",
|
|
|
id = "10004684",
|
|
|
};
|
|
|
l0.Mission = "MissionList.3887880754";
|
|
|
l0.EntityOnMissionLayer = 1;
|
|
|
l0.IsFixerFantasyCam = 1;
|
|
|
l0.DoFadeOut = 0;
|
|
|
end;
|
|
|
|
|
|
-- Empty out anchor definitions
|
|
|
_compilerVersion = 4;
|