package arm.node; @:keep class Sound_ambiance extends armory.logicnode.LogicTree { var functionNodes:Map; var functionOutputNodes:Map; public function new() { super(); name = "Sound_ambiance"; this.functionNodes = new Map(); this.functionOutputNodes = new Map(); notifyOnAdd(add); } override public function add() { var _SetVariable_006 = new armory.logicnode.SetVariableNode(this); var _Merge_002 = new armory.logicnode.MergeNode(this); var _PlaySpeaker_002 = new armory.logicnode.PlaySoundNode(this); var _Branch_002 = new armory.logicnode.BranchNode(this); var _IsTrue_004 = new armory.logicnode.IsTrueNode(this); var _Print_005 = new armory.logicnode.PrintNode(this); var _SetVariable_007 = new armory.logicnode.SetVariableNode(this); var _OnTimer_002 = new armory.logicnode.OnTimerNode(this); _OnTimer_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _OnTimer_002.addInput(new armory.logicnode.BooleanNode(this, true), 0); _OnTimer_002.addOutputs([_SetVariable_007]); _SetVariable_007.addInput(_OnTimer_002, 0); var _Integer_012 = new armory.logicnode.IntegerNode(this); _Integer_012.addInput(new armory.logicnode.IntegerNode(this, 0), 0); var _Math_002 = new armory.logicnode.MathNode(this); _Math_002.property0 = "Add"; _Math_002.property1 = "false"; _Math_002.addInput(_Integer_012, 0); _Math_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _Compare_002 = new armory.logicnode.CompareNode(this); _Compare_002.property0 = "Equal"; _Compare_002.property1 = 9.999999747378752e-05; _Compare_002.addInput(_Math_002, 0); var _Function_002 = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function_002", _Function_002); var _SetVariable_008 = new armory.logicnode.SetVariableNode(this); _SetVariable_008.addInput(_Function_002, 0); _SetVariable_008.addInput(_Integer_012, 0); var _Integer_013 = new armory.logicnode.IntegerNode(this); _Integer_013.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_013.addOutputs([_SetVariable_008]); _SetVariable_008.addInput(_Integer_013, 0); _SetVariable_008.addOutputs([new armory.logicnode.NullNode(this)]); _Function_002.addOutputs([_SetVariable_008]); _Function_002.addOutputs([_PlaySpeaker_002]); _Function_002.addOutputs([_Compare_002]); _Compare_002.addInput(_Function_002, 2); _Compare_002.addOutputs([_IsTrue_004]); _Math_002.addOutputs([_SetVariable_007, _Compare_002]); _Integer_012.addOutputs([_SetVariable_007, _Math_002, _SetVariable_006, _Print_005, _SetVariable_008]); _SetVariable_007.addInput(_Integer_012, 0); _SetVariable_007.addInput(_Math_002, 0); _SetVariable_007.addOutputs([_Print_005]); _Print_005.addInput(_SetVariable_007, 0); _Print_005.addInput(_Integer_012, 0); _Print_005.addOutputs([_IsTrue_004]); _IsTrue_004.addInput(_Print_005, 0); _IsTrue_004.addInput(_Compare_002, 0); _IsTrue_004.addOutputs([_Branch_002]); _Branch_002.addInput(_IsTrue_004, 0); var _Random_Boolean__002 = new armory.logicnode.RandomBooleanNode(this); _Random_Boolean__002.addOutputs([_Branch_002]); _Branch_002.addInput(_Random_Boolean__002, 0); _Branch_002.addOutputs([_PlaySpeaker_002]); _Branch_002.addOutputs([_Merge_002]); _PlaySpeaker_002.addInput(_Branch_002, 0); _PlaySpeaker_002.addInput(_Function_002, 1); _PlaySpeaker_002.addOutputs([_Merge_002]); _Merge_002.addInput(_PlaySpeaker_002, 0); _Merge_002.addInput(_Branch_002, 1); _Merge_002.addOutputs([_SetVariable_006]); _SetVariable_006.addInput(_Merge_002, 0); _SetVariable_006.addInput(_Integer_012, 0); var _Integer_011 = new armory.logicnode.IntegerNode(this); _Integer_011.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_011.addOutputs([_SetVariable_006]); _SetVariable_006.addInput(_Integer_011, 0); _SetVariable_006.addOutputs([new armory.logicnode.NullNode(this)]); var _SetVariable_009 = new armory.logicnode.SetVariableNode(this); var _Merge_003 = new armory.logicnode.MergeNode(this); var _PlaySpeaker_003 = new armory.logicnode.PlaySoundNode(this); var _Branch_003 = new armory.logicnode.BranchNode(this); var _IsTrue_005 = new armory.logicnode.IsTrueNode(this); var _SetVariable_010 = new armory.logicnode.SetVariableNode(this); var _OnTimer_003 = new armory.logicnode.OnTimerNode(this); _OnTimer_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _OnTimer_003.addInput(new armory.logicnode.BooleanNode(this, true), 0); _OnTimer_003.addOutputs([_SetVariable_010]); _SetVariable_010.addInput(_OnTimer_003, 0); var _Integer_016 = new armory.logicnode.IntegerNode(this); _Integer_016.addInput(new armory.logicnode.IntegerNode(this, 0), 0); var _Math_003 = new armory.logicnode.MathNode(this); _Math_003.property0 = "Add"; _Math_003.property1 = "false"; _Math_003.addInput(_Integer_016, 0); _Math_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _Compare_003 = new armory.logicnode.CompareNode(this); _Compare_003.property0 = "Equal"; _Compare_003.property1 = 9.999999747378752e-05; _Compare_003.addInput(_Math_003, 0); var _Function_003 = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function_003", _Function_003); var _SetVariable_011 = new armory.logicnode.SetVariableNode(this); _SetVariable_011.addInput(_Function_003, 0); _SetVariable_011.addInput(_Integer_016, 0); var _Integer_015 = new armory.logicnode.IntegerNode(this); _Integer_015.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_015.addOutputs([_SetVariable_011]); _SetVariable_011.addInput(_Integer_015, 0); _SetVariable_011.addOutputs([new armory.logicnode.NullNode(this)]); _Function_003.addOutputs([_SetVariable_011]); _Function_003.addOutputs([_PlaySpeaker_003]); _Function_003.addOutputs([_Compare_003]); _Compare_003.addInput(_Function_003, 2); _Compare_003.addOutputs([_IsTrue_005]); _Math_003.addOutputs([_SetVariable_010, _Compare_003]); _Integer_016.addOutputs([_SetVariable_010, _Math_003, _SetVariable_009, _SetVariable_011]); _SetVariable_010.addInput(_Integer_016, 0); _SetVariable_010.addInput(_Math_003, 0); _SetVariable_010.addOutputs([_IsTrue_005]); _IsTrue_005.addInput(_SetVariable_010, 0); _IsTrue_005.addInput(_Compare_003, 0); _IsTrue_005.addOutputs([_Branch_003]); _Branch_003.addInput(_IsTrue_005, 0); var _Random_Boolean__003 = new armory.logicnode.RandomBooleanNode(this); _Random_Boolean__003.addOutputs([_Branch_003]); _Branch_003.addInput(_Random_Boolean__003, 0); _Branch_003.addOutputs([_PlaySpeaker_003]); _Branch_003.addOutputs([_Merge_003]); _PlaySpeaker_003.addInput(_Branch_003, 0); _PlaySpeaker_003.addInput(_Function_003, 1); _PlaySpeaker_003.addOutputs([_Merge_003]); _Merge_003.addInput(_PlaySpeaker_003, 0); _Merge_003.addInput(_Branch_003, 1); _Merge_003.addOutputs([_SetVariable_009]); _SetVariable_009.addInput(_Merge_003, 0); _SetVariable_009.addInput(_Integer_016, 0); var _Integer_014 = new armory.logicnode.IntegerNode(this); _Integer_014.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_014.addOutputs([_SetVariable_009]); _SetVariable_009.addInput(_Integer_014, 0); _SetVariable_009.addOutputs([new armory.logicnode.NullNode(this)]); var _SetVariable_003 = new armory.logicnode.SetVariableNode(this); var _Merge_001 = new armory.logicnode.MergeNode(this); var _PlaySpeaker_001 = new armory.logicnode.PlaySoundNode(this); var _Branch_001 = new armory.logicnode.BranchNode(this); var _IsTrue_003 = new armory.logicnode.IsTrueNode(this); var _SetVariable_004 = new armory.logicnode.SetVariableNode(this); var _OnTimer_001 = new armory.logicnode.OnTimerNode(this); _OnTimer_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _OnTimer_001.addInput(new armory.logicnode.BooleanNode(this, true), 0); _OnTimer_001.addOutputs([_SetVariable_004]); _SetVariable_004.addInput(_OnTimer_001, 0); var _Integer_007 = new armory.logicnode.IntegerNode(this); _Integer_007.addInput(new armory.logicnode.IntegerNode(this, 0), 0); var _Math_001 = new armory.logicnode.MathNode(this); _Math_001.property0 = "Add"; _Math_001.property1 = "false"; _Math_001.addInput(_Integer_007, 0); _Math_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _Compare_001 = new armory.logicnode.CompareNode(this); _Compare_001.property0 = "Equal"; _Compare_001.property1 = 9.999999747378752e-05; _Compare_001.addInput(_Math_001, 0); var _Function_001 = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function_001", _Function_001); var _SetVariable_005 = new armory.logicnode.SetVariableNode(this); _SetVariable_005.addInput(_Function_001, 0); _SetVariable_005.addInput(_Integer_007, 0); var _Integer_008 = new armory.logicnode.IntegerNode(this); _Integer_008.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_008.addOutputs([_SetVariable_005]); _SetVariable_005.addInput(_Integer_008, 0); _SetVariable_005.addOutputs([new armory.logicnode.NullNode(this)]); _Function_001.addOutputs([_SetVariable_005]); _Function_001.addOutputs([_PlaySpeaker_001]); _Function_001.addOutputs([_Compare_001]); _Compare_001.addInput(_Function_001, 2); _Compare_001.addOutputs([_IsTrue_003]); _Math_001.addOutputs([_SetVariable_004, _Compare_001]); _Integer_007.addOutputs([_SetVariable_004, _Math_001, _SetVariable_003, _SetVariable_005]); _SetVariable_004.addInput(_Integer_007, 0); _SetVariable_004.addInput(_Math_001, 0); _SetVariable_004.addOutputs([_IsTrue_003]); _IsTrue_003.addInput(_SetVariable_004, 0); _IsTrue_003.addInput(_Compare_001, 0); _IsTrue_003.addOutputs([_Branch_001]); _Branch_001.addInput(_IsTrue_003, 0); var _Random_Boolean__001 = new armory.logicnode.RandomBooleanNode(this); _Random_Boolean__001.addOutputs([_Branch_001]); _Branch_001.addInput(_Random_Boolean__001, 0); _Branch_001.addOutputs([_PlaySpeaker_001]); _Branch_001.addOutputs([_Merge_001]); _PlaySpeaker_001.addInput(_Branch_001, 0); _PlaySpeaker_001.addInput(_Function_001, 1); _PlaySpeaker_001.addOutputs([_Merge_001]); _Merge_001.addInput(_PlaySpeaker_001, 0); _Merge_001.addInput(_Branch_001, 1); _Merge_001.addOutputs([_SetVariable_003]); _SetVariable_003.addInput(_Merge_001, 0); _SetVariable_003.addInput(_Integer_007, 0); var _Integer_006 = new armory.logicnode.IntegerNode(this); _Integer_006.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_006.addOutputs([_SetVariable_003]); _SetVariable_003.addInput(_Integer_006, 0); _SetVariable_003.addOutputs([new armory.logicnode.NullNode(this)]); var _SetVariable_001 = new armory.logicnode.SetVariableNode(this); var _Merge = new armory.logicnode.MergeNode(this); var _PlaySpeaker = new armory.logicnode.PlaySoundNode(this); var _Branch = new armory.logicnode.BranchNode(this); var _IsTrue_002 = new armory.logicnode.IsTrueNode(this); var _SetVariable = new armory.logicnode.SetVariableNode(this); var _OnTimer = new armory.logicnode.OnTimerNode(this); _OnTimer.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); _OnTimer.addInput(new armory.logicnode.BooleanNode(this, true), 0); _OnTimer.addOutputs([_SetVariable]); _SetVariable.addInput(_OnTimer, 0); var _Integer_001 = new armory.logicnode.IntegerNode(this); _Integer_001.addInput(new armory.logicnode.IntegerNode(this, 0), 0); var _Math = new armory.logicnode.MathNode(this); _Math.property0 = "Add"; _Math.property1 = "false"; _Math.addInput(_Integer_001, 0); _Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0); var _Compare = new armory.logicnode.CompareNode(this); _Compare.property0 = "Equal"; _Compare.property1 = 9.999999747378752e-05; _Compare.addInput(_Math, 0); var _Function = new armory.logicnode.FunctionNode(this); this.functionNodes.set("_Function", _Function); var _SetVariable_002 = new armory.logicnode.SetVariableNode(this); _SetVariable_002.addInput(_Function, 0); _SetVariable_002.addInput(_Integer_001, 0); var _Integer_003 = new armory.logicnode.IntegerNode(this); _Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_003.addOutputs([_SetVariable_002]); _SetVariable_002.addInput(_Integer_003, 0); _SetVariable_002.addOutputs([new armory.logicnode.NullNode(this)]); _Function.addOutputs([_SetVariable_002]); _Function.addOutputs([_PlaySpeaker]); _Function.addOutputs([_Compare]); _Compare.addInput(_Function, 2); _Compare.addOutputs([_IsTrue_002]); _Math.addOutputs([_SetVariable, _Compare]); _Integer_001.addOutputs([_SetVariable, _Math, _SetVariable_001, _SetVariable_002]); _SetVariable.addInput(_Integer_001, 0); _SetVariable.addInput(_Math, 0); _SetVariable.addOutputs([_IsTrue_002]); _IsTrue_002.addInput(_SetVariable, 0); _IsTrue_002.addInput(_Compare, 0); _IsTrue_002.addOutputs([_Branch]); _Branch.addInput(_IsTrue_002, 0); var _Random_Boolean_ = new armory.logicnode.RandomBooleanNode(this); _Random_Boolean_.addOutputs([_Branch]); _Branch.addInput(_Random_Boolean_, 0); _Branch.addOutputs([_PlaySpeaker]); _Branch.addOutputs([_Merge]); _PlaySpeaker.addInput(_Branch, 0); _PlaySpeaker.addInput(_Function, 1); _PlaySpeaker.addOutputs([_Merge]); _Merge.addInput(_PlaySpeaker, 0); _Merge.addInput(_Branch, 1); _Merge.addOutputs([_SetVariable_001]); _SetVariable_001.addInput(_Merge, 0); _SetVariable_001.addInput(_Integer_001, 0); var _Integer_002 = new armory.logicnode.IntegerNode(this); _Integer_002.addInput(new armory.logicnode.IntegerNode(this, 0), 0); _Integer_002.addOutputs([_SetVariable_001]); _SetVariable_001.addInput(_Integer_002, 0); _SetVariable_001.addOutputs([new armory.logicnode.NullNode(this)]); var _CallFunction = new armory.logicnode.CallFunctionNode(this); var _OnInit = new armory.logicnode.OnInitNode(this); var _CallFunction_001 = new armory.logicnode.CallFunctionNode(this); _CallFunction_001.addInput(_OnInit, 0); var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this); _SelfTrait_001.addOutputs([_CallFunction_001]); _CallFunction_001.addInput(_SelfTrait_001, 0); _CallFunction_001.addInput(new armory.logicnode.StringNode(this, "Son_ambiance1"), 0); var _ArrayGet_002 = new armory.logicnode.ArrayGetNode(this); var _Array_Object__002 = new armory.logicnode.ArrayObjectNode(this); _Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_bird_1"), 0); _Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_bird_2"), 0); _Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_cricket_1"), 0); _Array_Object__002.addInput(new armory.logicnode.ObjectNode(this, "amb_frog_1"), 0); var _ArrayGet = new armory.logicnode.ArrayGetNode(this); _ArrayGet.addInput(_Array_Object__002, 0); var _Integer_004 = new armory.logicnode.IntegerNode(this); _Integer_004.addInput(new armory.logicnode.IntegerNode(this, 0), 0); var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this); var _Array_Integer_ = new armory.logicnode.ArrayIntegerNode(this); _Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 10), 0); _Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 8), 0); _Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 2), 0); _Array_Integer_.addInput(new armory.logicnode.IntegerNode(this, 5), 0); var _ArrayGet_003 = new armory.logicnode.ArrayGetNode(this); _ArrayGet_003.addInput(_Array_Integer_, 0); var _Integer_005 = new armory.logicnode.IntegerNode(this); _Integer_005.addInput(new armory.logicnode.IntegerNode(this, 1), 0); _Integer_005.addOutputs([_ArrayGet_002, _ArrayGet_003]); _ArrayGet_003.addInput(_Integer_005, 0); _ArrayGet_003.addOutputs([_CallFunction_001]); var _ArrayGet_007 = new armory.logicnode.ArrayGetNode(this); _ArrayGet_007.addInput(_Array_Integer_, 0); var _Integer_009 = new armory.logicnode.IntegerNode(this); _Integer_009.addInput(new armory.logicnode.IntegerNode(this, 3), 0); var _ArrayGet_006 = new armory.logicnode.ArrayGetNode(this); _ArrayGet_006.addInput(_Array_Object__002, 0); _ArrayGet_006.addInput(_Integer_009, 0); var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this); _CallFunction_003.addInput(_OnInit, 0); var _SelfTrait_003 = new armory.logicnode.SelfTraitNode(this); _SelfTrait_003.addOutputs([_CallFunction_003]); _CallFunction_003.addInput(_SelfTrait_003, 0); _CallFunction_003.addInput(new armory.logicnode.StringNode(this, "Son_ambiance3"), 0); _CallFunction_003.addInput(_ArrayGet_006, 0); _CallFunction_003.addInput(_ArrayGet_007, 0); _CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]); _CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]); _ArrayGet_006.addOutputs([_CallFunction_003]); _Integer_009.addOutputs([_ArrayGet_006, _ArrayGet_007]); _ArrayGet_007.addInput(_Integer_009, 0); _ArrayGet_007.addOutputs([_CallFunction_003]); var _ArrayGet_005 = new armory.logicnode.ArrayGetNode(this); _ArrayGet_005.addInput(_Array_Integer_, 0); var _Integer_010 = new armory.logicnode.IntegerNode(this); _Integer_010.addInput(new armory.logicnode.IntegerNode(this, 2), 0); var _ArrayGet_004 = new armory.logicnode.ArrayGetNode(this); _ArrayGet_004.addInput(_Array_Object__002, 0); _ArrayGet_004.addInput(_Integer_010, 0); var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this); _CallFunction_002.addInput(_OnInit, 0); var _SelfTrait_002 = new armory.logicnode.SelfTraitNode(this); _SelfTrait_002.addOutputs([_CallFunction_002]); _CallFunction_002.addInput(_SelfTrait_002, 0); _CallFunction_002.addInput(new armory.logicnode.StringNode(this, "Son_ambiance2"), 0); _CallFunction_002.addInput(_ArrayGet_004, 0); _CallFunction_002.addInput(_ArrayGet_005, 0); _CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]); _CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]); _ArrayGet_004.addOutputs([_CallFunction_002]); _Integer_010.addOutputs([_ArrayGet_005, _ArrayGet_004]); _ArrayGet_005.addInput(_Integer_010, 0); _ArrayGet_005.addOutputs([_CallFunction_002]); _Array_Integer_.addOutputs([_ArrayGet_001, _ArrayGet_003, _ArrayGet_007, _ArrayGet_005]); _Array_Integer_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]); _ArrayGet_001.addInput(_Array_Integer_, 0); _ArrayGet_001.addInput(_Integer_004, 0); _ArrayGet_001.addOutputs([_CallFunction]); _Integer_004.addOutputs([_ArrayGet, _ArrayGet_001]); _ArrayGet.addInput(_Integer_004, 0); _ArrayGet.addOutputs([_CallFunction]); _Array_Object__002.addOutputs([_ArrayGet, _ArrayGet_002, _ArrayGet_006, _ArrayGet_004]); _Array_Object__002.addOutputs([new armory.logicnode.IntegerNode(this, 0)]); _ArrayGet_002.addInput(_Array_Object__002, 0); _ArrayGet_002.addInput(_Integer_005, 0); _ArrayGet_002.addOutputs([_CallFunction_001]); _CallFunction_001.addInput(_ArrayGet_002, 0); _CallFunction_001.addInput(_ArrayGet_003, 0); _CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]); _CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]); _OnInit.addOutputs([_CallFunction, _CallFunction_001, _CallFunction_002, _CallFunction_003]); _CallFunction.addInput(_OnInit, 0); var _SelfTrait = new armory.logicnode.SelfTraitNode(this); _SelfTrait.addOutputs([_CallFunction]); _CallFunction.addInput(_SelfTrait, 0); _CallFunction.addInput(new armory.logicnode.StringNode(this, "Son_ambiance0"), 0); _CallFunction.addInput(_ArrayGet, 0); _CallFunction.addInput(_ArrayGet_001, 0); _CallFunction.addOutputs([new armory.logicnode.NullNode(this)]); _CallFunction.addOutputs([new armory.logicnode.NullNode(this)]); } public function Son_ambiance0(arg0:Dynamic, arg1:Dynamic) { var functionNode = this.functionNodes["_Function_002"]; functionNode.args = []; functionNode.args.push(arg0); functionNode.args.push(arg1); functionNode.run(0); } public function Son_ambiance3(arg0:Dynamic, arg1:Dynamic) { var functionNode = this.functionNodes["_Function_003"]; functionNode.args = []; functionNode.args.push(arg0); functionNode.args.push(arg1); functionNode.run(0); } public function Son_ambiance2(arg0:Dynamic, arg1:Dynamic) { var functionNode = this.functionNodes["_Function_001"]; functionNode.args = []; functionNode.args.push(arg0); functionNode.args.push(arg1); functionNode.run(0); } public function Son_ambiance1(arg0:Dynamic, arg1:Dynamic) { var functionNode = this.functionNodes["_Function"]; functionNode.args = []; functionNode.args.push(arg0); functionNode.args.push(arg1); functionNode.run(0); } }