package arm.node; @:keep class Plateforme_mvt extends armory.logicnode.LogicTree { var functionNodes:Map; var functionOutputNodes:Map; public function new() { super(); name = "Plateforme_mvt"; this.functionNodes = new Map(); this.functionOutputNodes = new Map(); notifyOnAdd(add); } override public function add() { var _FunctionOutput_003 = new armory.logicnode.FunctionOutputNode(this); this.functionOutputNodes.set("_FunctionOutput_003", _FunctionOutput_003); var _Merge_004 = new armory.logicnode.MergeNode(this); var _SetVariable_010 = new armory.logicnode.SetVariableNode(this); var _Gate_013 = new armory.logicnode.GateNode(this); _Gate_013.property0 = "Greater"; _Gate_013.property1 = 9.999999747378752e-05; var _Function_003 = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function_003", _Function_003); _Function_003.addOutputs([_Gate_013]); var _Math_010 = new armory.logicnode.MathNode(this); _Math_010.property0 = "Subtract"; _Math_010.property1 = "false"; _Math_010.addInput(_Function_003, 1); _Math_010.addInput(_Function_003, 2); var _Math_013 = new armory.logicnode.MathNode(this); _Math_013.property0 = "Abs"; _Math_013.property1 = "false"; _Math_013.addInput(_Math_010, 0); _Math_013.addInput(new armory.logicnode.FloatNode(this, 0.5), 0); var _Gate_014 = new armory.logicnode.GateNode(this); _Gate_014.property0 = "Greater"; _Gate_014.property1 = 9.999999747378752e-05; _Gate_014.addInput(_Gate_013, 1); _Gate_014.addInput(_Math_013, 0); var _Float_007 = new armory.logicnode.FloatNode(this); _Float_007.addInput(new armory.logicnode.FloatNode(this, 0.019999999552965164), 0); var _Math_015 = new armory.logicnode.MathNode(this); _Math_015.property0 = "Multiply"; _Math_015.property1 = "false"; _Math_015.addInput(_Float_007, 0); _Math_015.addInput(new armory.logicnode.FloatNode(this, -1.0), 0); var _SetVariable_012 = new armory.logicnode.SetVariableNode(this); _SetVariable_012.addInput(_Gate_014, 0); var _Float_006 = new armory.logicnode.FloatNode(this); _Float_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); var _SetVariable_013 = new armory.logicnode.SetVariableNode(this); _SetVariable_013.addInput(_Gate_014, 1); _SetVariable_013.addInput(_Float_006, 0); var _Float_008 = new armory.logicnode.FloatNode(this); _Float_008.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Float_008.addOutputs([_SetVariable_013]); _SetVariable_013.addInput(_Float_008, 0); _SetVariable_013.addOutputs([_Merge_004]); _Float_006.addOutputs([_SetVariable_010, _SetVariable_012, _SetVariable_013, _FunctionOutput_003]); _SetVariable_012.addInput(_Float_006, 0); _SetVariable_012.addInput(_Math_015, 0); _SetVariable_012.addOutputs([_Merge_004]); _Math_015.addOutputs([_SetVariable_012]); _Float_007.addOutputs([_Gate_013, _Gate_014, _SetVariable_010, _Math_015]); _Gate_014.addInput(_Float_007, 0); _Gate_014.addOutputs([_SetVariable_012]); _Gate_014.addOutputs([_SetVariable_013]); _Math_013.addOutputs([_Gate_014]); _Math_010.addOutputs([_Gate_013, _Math_013]); _Function_003.addOutputs([_Math_010]); _Function_003.addOutputs([_Math_010]); _Gate_013.addInput(_Function_003, 0); _Gate_013.addInput(_Math_010, 0); _Gate_013.addInput(_Float_007, 0); _Gate_013.addOutputs([_SetVariable_010]); _Gate_013.addOutputs([_Gate_014]); _SetVariable_010.addInput(_Gate_013, 0); _SetVariable_010.addInput(_Float_006, 0); _SetVariable_010.addInput(_Float_007, 0); _SetVariable_010.addOutputs([_Merge_004]); _Merge_004.addInput(_SetVariable_010, 0); _Merge_004.addInput(_SetVariable_012, 0); _Merge_004.addInput(_SetVariable_013, 0); _Merge_004.addOutputs([_FunctionOutput_003]); _FunctionOutput_003.addInput(_Merge_004, 0); _FunctionOutput_003.addInput(_Float_006, 0); var _FunctionOutput_004 = new armory.logicnode.FunctionOutputNode(this); this.functionOutputNodes.set("_FunctionOutput_004", _FunctionOutput_004); var _Merge_005 = new armory.logicnode.MergeNode(this); var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this); var _SetVariable_017 = new armory.logicnode.SetVariableNode(this); var _Gate_003 = new armory.logicnode.GateNode(this); _Gate_003.property0 = "Equal"; _Gate_003.property1 = 9.999999747378752e-05; var _Function_002 = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function_002", _Function_002); _Function_002.addOutputs([_Gate_003]); _Gate_003.addInput(_Function_002, 0); var _GetProperty = new armory.logicnode.GetPropertyNode(this); _GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _GetProperty.addInput(new armory.logicnode.StringNode(this, "step"), 0); var _Math_009 = new armory.logicnode.MathNode(this); _Math_009.property0 = "Add"; _Math_009.property1 = "false"; _Math_009.addInput(_GetProperty, 0); _Math_009.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _ConcatenateString = new armory.logicnode.ConcatenateStringNode(this); var _String = new armory.logicnode.StringNode(this); _String.addInput(new armory.logicnode.StringNode(this, "plateforme_step"), 0); _String.addOutputs([_ConcatenateString]); _ConcatenateString.addInput(_String, 0); _ConcatenateString.addInput(_Math_009, 0); var _GetObject = new armory.logicnode.GetObjectNode(this); _GetObject.addInput(_ConcatenateString, 0); var _GetLocation_002 = new armory.logicnode.GetLocationNode(this); _GetLocation_002.addInput(_GetObject, 0); _GetLocation_002.addOutputs([_SetVariable_017]); _GetObject.addOutputs([_GetLocation_002]); _ConcatenateString.addOutputs([_GetObject]); _Math_009.addOutputs([_ConcatenateString, _SetProperty_002]); _GetProperty.addOutputs([_Gate_003, _Math_009]); _Gate_003.addInput(_GetProperty, 0); var _Integer_008 = new armory.logicnode.IntegerNode(this); _Integer_008.addInput(new armory.logicnode.IntegerNode(this, 4), 0); _Integer_008.addOutputs([_Gate_003]); _Gate_003.addInput(_Integer_008, 0); var _SetVariable_019 = new armory.logicnode.SetVariableNode(this); _SetVariable_019.addInput(_Gate_003, 0); var _Vector_012 = new armory.logicnode.VectorNode(this); _Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_012.addOutputs([_FunctionOutput_004, _SetVariable_017, _SetVariable_019]); _SetVariable_019.addInput(_Vector_012, 0); var _GetLocation_005 = new armory.logicnode.GetLocationNode(this); _GetLocation_005.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step1"), 0); _GetLocation_005.addOutputs([_SetVariable_019]); _SetVariable_019.addInput(_GetLocation_005, 0); var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this); _SetProperty_005.addInput(_SetVariable_019, 0); _SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _SetProperty_005.addInput(new armory.logicnode.StringNode(this, "step"), 0); var _Integer_009 = new armory.logicnode.IntegerNode(this); _Integer_009.addInput(new armory.logicnode.IntegerNode(this, 1), 0); _Integer_009.addOutputs([_SetProperty_005]); _SetProperty_005.addInput(_Integer_009, 0); _SetProperty_005.addOutputs([_Merge_005]); _SetVariable_019.addOutputs([_SetProperty_005]); _Gate_003.addOutputs([_SetVariable_019]); _Gate_003.addOutputs([_SetVariable_017]); _SetVariable_017.addInput(_Gate_003, 1); _SetVariable_017.addInput(_Vector_012, 0); _SetVariable_017.addInput(_GetLocation_002, 0); _SetVariable_017.addOutputs([_SetProperty_002]); _SetProperty_002.addInput(_SetVariable_017, 0); _SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _SetProperty_002.addInput(new armory.logicnode.StringNode(this, "step"), 0); _SetProperty_002.addInput(_Math_009, 0); _SetProperty_002.addOutputs([_Merge_005]); _Merge_005.addInput(_SetProperty_002, 0); _Merge_005.addInput(_SetProperty_005, 0); _Merge_005.addOutputs([_FunctionOutput_004]); _FunctionOutput_004.addInput(_Merge_005, 0); _FunctionOutput_004.addInput(_Vector_012, 0); var _Print_001 = new armory.logicnode.PrintNode(this); var _SetProperty = new armory.logicnode.SetPropertyNode(this); var _SetLocation_002 = new armory.logicnode.SetLocationNode(this); var _Print = new armory.logicnode.PrintNode(this); var _OnInit_001 = new armory.logicnode.OnInitNode(this); _OnInit_001.addOutputs([_Print]); _Print.addInput(_OnInit_001, 0); var _GetLocation_001 = new armory.logicnode.GetLocationNode(this); _GetLocation_001.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step4"), 0); _GetLocation_001.addOutputs([_SetLocation_002, _Print]); _Print.addInput(_GetLocation_001, 0); _Print.addOutputs([_SetLocation_002]); _SetLocation_002.addInput(_Print, 0); _SetLocation_002.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0); _SetLocation_002.addInput(_GetLocation_001, 0); _SetLocation_002.addOutputs([_SetProperty]); _SetProperty.addInput(_SetLocation_002, 0); _SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _SetProperty.addInput(new armory.logicnode.StringNode(this, "step"), 0); var _Integer = new armory.logicnode.IntegerNode(this); _Integer.addInput(new armory.logicnode.IntegerNode(this, 4), 0); _Integer.addOutputs([_SetProperty, _Print_001]); _SetProperty.addInput(_Integer, 0); _SetProperty.addOutputs([_Print_001]); _Print_001.addInput(_SetProperty, 0); _Print_001.addInput(_Integer, 0); _Print_001.addOutputs([new armory.logicnode.NullNode(this)]); var _SetVariable_015 = new armory.logicnode.SetVariableNode(this); var _CallFunction_012 = new armory.logicnode.CallFunctionNode(this); var _IsTrue_006 = new armory.logicnode.IsTrueNode(this); var _Merge = new armory.logicnode.MergeNode(this); var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this); var _Branch = new armory.logicnode.BranchNode(this); var _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this); var _SetVariable_011 = new armory.logicnode.SetVariableNode(this); var _SetVariable_009 = new armory.logicnode.SetVariableNode(this); var _CallFunction_004 = new armory.logicnode.CallFunctionNode(this); var _SetVariable_002 = new armory.logicnode.SetVariableNode(this); var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this); var _SetVariable_001 = new armory.logicnode.SetVariableNode(this); var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this); var _OnTimer_001 = new armory.logicnode.OnTimerNode(this); _OnTimer_001.addInput(new armory.logicnode.FloatNode(this, 0.0010000000474974513), 0); _OnTimer_001.addInput(new armory.logicnode.BooleanNode(this, true), 0); _OnTimer_001.addOutputs([_CallFunction_002]); _CallFunction_002.addInput(_OnTimer_001, 0); var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this); _SelfTrait_001.addOutputs([_CallFunction_002, _CallFunction_003, _CallFunction_004]); _CallFunction_002.addInput(_SelfTrait_001, 0); _CallFunction_002.addInput(new armory.logicnode.StringNode(this, "pas"), 0); var _SeparateXYZ_005 = new armory.logicnode.SeparateVectorNode(this); var _Vector_011 = new armory.logicnode.VectorNode(this); _Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Vector_011.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); var _SetVariable_016 = new armory.logicnode.SetVariableNode(this); var _OnInit_003 = new armory.logicnode.OnInitNode(this); _OnInit_003.addOutputs([_SetVariable_016]); _SetVariable_016.addInput(_OnInit_003, 0); _SetVariable_016.addInput(_Vector_011, 0); var _GetLocation_013 = new armory.logicnode.GetLocationNode(this); _GetLocation_013.addInput(new armory.logicnode.ObjectNode(this, "plateforme_step1"), 0); _GetLocation_013.addOutputs([_SetVariable_016]); _SetVariable_016.addInput(_GetLocation_013, 0); var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this); _SetProperty_001.addInput(_SetVariable_016, 0); _SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _SetProperty_001.addInput(new armory.logicnode.StringNode(this, "step"), 0); var _Integer_005 = new armory.logicnode.IntegerNode(this); _Integer_005.addInput(new armory.logicnode.IntegerNode(this, 1), 0); _Integer_005.addOutputs([_SetProperty_001]); _SetProperty_001.addInput(_Integer_005, 0); _SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]); _SetVariable_016.addOutputs([_SetProperty_001]); _Vector_011.addOutputs([_SeparateXYZ_005, _SetVariable_016, _SetVariable_015]); _SeparateXYZ_005.addInput(_Vector_011, 0); _SeparateXYZ_005.addOutputs([_CallFunction_002]); _SeparateXYZ_005.addOutputs([_CallFunction_003]); _SeparateXYZ_005.addOutputs([_CallFunction_004]); _CallFunction_002.addInput(_SeparateXYZ_005, 0); var _SeparateXYZ_006 = new armory.logicnode.SeparateVectorNode(this); var _GetLocation_007 = new armory.logicnode.GetLocationNode(this); _GetLocation_007.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _GetLocation_007.addOutputs([_SeparateXYZ_006]); _SeparateXYZ_006.addInput(_GetLocation_007, 0); _SeparateXYZ_006.addOutputs([_CallFunction_002]); _SeparateXYZ_006.addOutputs([_CallFunction_003]); _SeparateXYZ_006.addOutputs([_CallFunction_004]); _CallFunction_002.addInput(_SeparateXYZ_006, 0); _CallFunction_002.addOutputs([_SetVariable_001]); _CallFunction_002.addOutputs([_SetVariable_001]); _SetVariable_001.addInput(_CallFunction_002, 0); var _Float_002 = new armory.logicnode.FloatNode(this); _Float_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); var _Vector_002 = new armory.logicnode.VectorNode(this); _Vector_002.addInput(_Float_002, 0); var _Float_003 = new armory.logicnode.FloatNode(this); _Float_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Float_003.addOutputs([_SetVariable_002, _Vector_002]); _Vector_002.addInput(_Float_003, 0); var _Float_004 = new armory.logicnode.FloatNode(this); _Float_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); _Float_004.addOutputs([_SetVariable_009, _Vector_002]); _Vector_002.addInput(_Float_004, 0); _Vector_002.addOutputs([_SetVariable_011]); _Float_002.addOutputs([_SetVariable_001, _Vector_002]); _SetVariable_001.addInput(_Float_002, 0); _SetVariable_001.addInput(_CallFunction_002, 1); _SetVariable_001.addOutputs([_CallFunction_003]); _CallFunction_003.addInput(_SetVariable_001, 0); _CallFunction_003.addInput(_SelfTrait_001, 0); _CallFunction_003.addInput(new armory.logicnode.StringNode(this, "pas"), 0); _CallFunction_003.addInput(_SeparateXYZ_005, 1); _CallFunction_003.addInput(_SeparateXYZ_006, 1); _CallFunction_003.addOutputs([_SetVariable_002]); _CallFunction_003.addOutputs([_SetVariable_002]); _SetVariable_002.addInput(_CallFunction_003, 0); _SetVariable_002.addInput(_Float_003, 0); _SetVariable_002.addInput(_CallFunction_003, 1); _SetVariable_002.addOutputs([_CallFunction_004]); _CallFunction_004.addInput(_SetVariable_002, 0); _CallFunction_004.addInput(_SelfTrait_001, 0); _CallFunction_004.addInput(new armory.logicnode.StringNode(this, "pas"), 0); _CallFunction_004.addInput(_SeparateXYZ_005, 2); _CallFunction_004.addInput(_SeparateXYZ_006, 2); _CallFunction_004.addOutputs([_SetVariable_009]); _CallFunction_004.addOutputs([_SetVariable_009]); _SetVariable_009.addInput(_CallFunction_004, 0); _SetVariable_009.addInput(_Float_004, 0); _SetVariable_009.addInput(_CallFunction_004, 1); _SetVariable_009.addOutputs([_SetVariable_011]); _SetVariable_011.addInput(_SetVariable_009, 0); var _Vector_010 = new armory.logicnode.VectorNode(this); _Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _Vector_010.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _SeparateXYZ_007 = new armory.logicnode.SeparateVectorNode(this); _SeparateXYZ_007.addInput(_Vector_010, 0); var _Compare_001 = new armory.logicnode.CompareNode(this); _Compare_001.property0 = "Equal"; _Compare_001.property1 = 9.999999747378752e-05; _Compare_001.addInput(_SeparateXYZ_007, 0); var _Float_005 = new armory.logicnode.FloatNode(this); _Float_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0); var _Compare_002 = new armory.logicnode.CompareNode(this); _Compare_002.property0 = "Equal"; _Compare_002.property1 = 9.999999747378752e-05; _Compare_002.addInput(_SeparateXYZ_007, 1); _Compare_002.addInput(_Float_005, 0); var _Compare_004 = new armory.logicnode.CompareNode(this); _Compare_004.property0 = "And"; _Compare_004.property1 = 9.999999747378752e-05; _Compare_004.addInput(_Compare_001, 0); _Compare_004.addInput(_Compare_002, 0); var _Compare_003 = new armory.logicnode.CompareNode(this); _Compare_003.property0 = "Equal"; _Compare_003.property1 = 9.999999747378752e-05; _Compare_003.addInput(_SeparateXYZ_007, 2); _Compare_003.addInput(_Float_005, 0); _Compare_003.addOutputs([_Compare_004]); _Compare_004.addInput(_Compare_003, 0); _Compare_004.addOutputs([_IsTrue_006]); _Compare_002.addOutputs([_Compare_004]); _Float_005.addOutputs([_Compare_001, _Compare_002, _Compare_003]); _Compare_001.addInput(_Float_005, 0); _Compare_001.addOutputs([_Compare_004]); _SeparateXYZ_007.addOutputs([_Compare_001]); _SeparateXYZ_007.addOutputs([_Compare_002]); _SeparateXYZ_007.addOutputs([_Compare_003]); _Vector_010.addOutputs([_SetVariable_011, _TranslateObject_001, _SeparateXYZ_007, _TranslateObject_002]); _SetVariable_011.addInput(_Vector_010, 0); _SetVariable_011.addInput(_Vector_002, 0); _SetVariable_011.addOutputs([_TranslateObject_001]); _TranslateObject_001.addInput(_SetVariable_011, 0); _TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0); _TranslateObject_001.addInput(_Vector_010, 0); _TranslateObject_001.addOutputs([_Branch]); _Branch.addInput(_TranslateObject_001, 0); var _HasContact = new armory.logicnode.HasContactNode(this); _HasContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0); _HasContact.addInput(new armory.logicnode.ObjectNode(this, "Platforme"), 0); _HasContact.addOutputs([_Branch]); _Branch.addInput(_HasContact, 0); _Branch.addOutputs([_TranslateObject_002]); _Branch.addOutputs([_Merge]); _TranslateObject_002.addInput(_Branch, 0); _TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0); _TranslateObject_002.addInput(_Vector_010, 0); _TranslateObject_002.addOutputs([_Merge]); _Merge.addInput(_TranslateObject_002, 0); _Merge.addInput(_Branch, 1); _Merge.addOutputs([_IsTrue_006]); _IsTrue_006.addInput(_Merge, 0); _IsTrue_006.addInput(_Compare_004, 0); _IsTrue_006.addOutputs([_CallFunction_012]); _CallFunction_012.addInput(_IsTrue_006, 0); var _SelfTrait_003 = new armory.logicnode.SelfTraitNode(this); _SelfTrait_003.addOutputs([_CallFunction_012]); _CallFunction_012.addInput(_SelfTrait_003, 0); _CallFunction_012.addInput(new armory.logicnode.StringNode(this, "nextstep"), 0); _CallFunction_012.addOutputs([_SetVariable_015]); _CallFunction_012.addOutputs([_SetVariable_015]); _SetVariable_015.addInput(_CallFunction_012, 0); _SetVariable_015.addInput(_Vector_011, 0); _SetVariable_015.addInput(_CallFunction_012, 1); _SetVariable_015.addOutputs([new armory.logicnode.NullNode(this)]); } public function pas(arg0:Dynamic, arg1:Dynamic) { var functionNode = this.functionNodes["_Function_003"]; functionNode.args = []; functionNode.args.push(arg0); functionNode.args.push(arg1); functionNode.run(0); return this.functionOutputNodes["_FunctionOutput_003"].result; } public function nextstep() { var functionNode = this.functionNodes["_Function_002"]; functionNode.args = []; functionNode.run(0); return this.functionOutputNodes["_FunctionOutput_004"].result; } }