add last file

This commit is contained in:
Philippe Roy 2019-04-05 04:40:44 +02:00
parent 87c1a73b8a
commit bd741ff7ec
11 changed files with 2616 additions and 0 deletions

23
Sources/Main.hx Normal file
View File

@ -0,0 +1,23 @@
// Auto-generated
package ;
class Main {
public static inline var projectName = 'ecureuil';
public static inline var projectPackage = 'arm';
public static function main() {
iron.object.BoneAnimation.skinMaxBones = 52;
iron.object.LightObject.cascadeCount = 4;
iron.object.LightObject.cascadeSplitFactor = 0.800000011920929;
armory.system.Starter.main(
'Scene',
0,
false,
true,
false,
1920,
1080,
1,
true,
armory.renderpath.RenderPathCreator.get
);
}
}

View File

@ -0,0 +1,83 @@
package arm.node;
@:keep class Ascenseur_saut extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Ascenseur_saut";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _PlayAction_001 = new armory.logicnode.PlayActionNode(this);
var _ApplyForce = new armory.logicnode.ApplyForceNode(this);
var _PlayAction = new armory.logicnode.PlayActionNode(this);
var _OnVolumeTrigger = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger.property0 = "Enter";
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "Field"), 0);
_OnVolumeTrigger.addOutputs([_PlayAction]);
_PlayAction.addInput(_OnVolumeTrigger, 0);
_PlayAction.addInput(new armory.logicnode.ObjectNode(this, "springbox"), 0);
_PlayAction.addInput(new armory.logicnode.StringNode(this, "springboxAction"), 0);
_PlayAction.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction.addOutputs([_ApplyForce]);
_ApplyForce.addInput(_PlayAction, 1);
_ApplyForce.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 1500.0), 0);
_Float.addOutputs([_Vector]);
_Vector.addInput(_Float, 0);
_Vector.addOutputs([_ApplyForce]);
_ApplyForce.addInput(_Vector, 0);
_ApplyForce.addOutputs([_PlayAction_001]);
_PlayAction_001.addInput(_ApplyForce, 0);
_PlayAction_001.addInput(new armory.logicnode.ObjectNode(this, "springbox"), 0);
_PlayAction_001.addInput(new armory.logicnode.StringNode(this, ""), 0);
_PlayAction_001.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_003 = new armory.logicnode.PlayActionNode(this);
var _ApplyForce_001 = new armory.logicnode.ApplyForceNode(this);
var _PlayAction_002 = new armory.logicnode.PlayActionNode(this);
var _OnVolumeTrigger_002 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_002.property0 = "Enter";
_OnVolumeTrigger_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_002.addInput(new armory.logicnode.ObjectNode(this, "Field2"), 0);
_OnVolumeTrigger_002.addOutputs([_PlayAction_002]);
_PlayAction_002.addInput(_OnVolumeTrigger_002, 0);
_PlayAction_002.addInput(new armory.logicnode.ObjectNode(this, "springbox2"), 0);
_PlayAction_002.addInput(new armory.logicnode.StringNode(this, "springboxAction2"), 0);
_PlayAction_002.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_002.addOutputs([_ApplyForce_001]);
_ApplyForce_001.addInput(_PlayAction_002, 1);
_ApplyForce_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 1500.0), 0);
_Float_001.addOutputs([_Vector_001]);
_Vector_001.addInput(_Float_001, 0);
_Vector_001.addOutputs([_ApplyForce_001]);
_ApplyForce_001.addInput(_Vector_001, 0);
_ApplyForce_001.addOutputs([_PlayAction_003]);
_PlayAction_003.addInput(_ApplyForce_001, 0);
_PlayAction_003.addInput(new armory.logicnode.ObjectNode(this, "springbox2"), 0);
_PlayAction_003.addInput(new armory.logicnode.StringNode(this, ""), 0);
_PlayAction_003.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
}
}

View File

@ -0,0 +1,58 @@
package arm.node;
@:keep class Camera_mode extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Camera_mode";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
var _SetCamera = new armory.logicnode.SetCameraNode(this);
var _Branch = new armory.logicnode.BranchNode(this);
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_004.property0 = "Started";
_OnKeyboard_004.property1 = "f";
_OnKeyboard_004.addOutputs([_Branch]);
_Branch.addInput(_OnKeyboard_004, 0);
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
_GetProperty.addOutputs([_Branch]);
_Branch.addInput(_GetProperty, 0);
var _SetCamera_001 = new armory.logicnode.SetCameraNode(this);
_SetCamera_001.addInput(_Branch, 0);
_SetCamera_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_001.addInput(_SetCamera_001, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_001.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_Boolean_001, 0);
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
_SetCamera_001.addOutputs([_SetProperty_001]);
_Branch.addOutputs([_SetCamera_001]);
_Branch.addOutputs([_SetCamera]);
_SetCamera.addInput(_Branch, 1);
_SetCamera.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
_SetCamera.addOutputs([_SetProperty]);
_SetProperty.addInput(_SetCamera, 0);
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
_SetProperty.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
var _Boolean = new armory.logicnode.BooleanNode(this);
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean.addOutputs([_SetProperty]);
_SetProperty.addInput(_Boolean, 0);
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
}
}

644
Sources/arm/node/Decor.hx Normal file
View File

@ -0,0 +1,644 @@
package arm.node;
@:keep class Decor extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Decor";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _FunctionOutput = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput", _FunctionOutput);
var _Function = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function", _Function);
_Function.addOutputs([_FunctionOutput]);
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
_FunctionOutput.addInput(_Function, 0);
var _Vector_002 = new armory.logicnode.VectorNode(this);
var _Random_Float_ = new armory.logicnode.RandomFloatNode(this);
var _SeparateXYZ_001 = new armory.logicnode.SeparateVectorNode(this);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -15.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, -7.0), 0);
var _VectorMath_002 = new armory.logicnode.VectorMathNode(this);
_VectorMath_002.property0 = "Add";
_VectorMath_002.addInput(_Vector_001, 0);
var _Vector_004 = new armory.logicnode.VectorNode(this);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 19.5), 0);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 150.0), 0);
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 44.0), 0);
_Vector_004.addOutputs([_VectorMath_002]);
_VectorMath_002.addInput(_Vector_004, 0);
var _SeparateXYZ = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ.addInput(_VectorMath_002, 0);
_SeparateXYZ.addOutputs([_Random_Float_]);
var _Random_Float__001 = new armory.logicnode.RandomFloatNode(this);
_Random_Float__001.addInput(_SeparateXYZ_001, 1);
_Random_Float__001.addInput(_SeparateXYZ, 1);
_Random_Float__001.addOutputs([_Vector_002]);
_SeparateXYZ.addOutputs([_Random_Float__001]);
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_VectorMath_002.addOutputs([_SeparateXYZ]);
_VectorMath_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Vector_001.addOutputs([_SeparateXYZ_001, _VectorMath_002]);
_SeparateXYZ_001.addInput(_Vector_001, 0);
_SeparateXYZ_001.addOutputs([_Random_Float_]);
_SeparateXYZ_001.addOutputs([_Random_Float__001]);
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Random_Float_.addInput(_SeparateXYZ_001, 0);
_Random_Float_.addInput(_SeparateXYZ, 0);
_Random_Float_.addOutputs([_Vector_002]);
_Vector_002.addInput(_Random_Float_, 0);
_Vector_002.addInput(_Random_Float__001, 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addOutputs([_FunctionOutput]);
_FunctionOutput.addInput(_Vector_002, 0);
var _FunctionOutput_002 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_002", _FunctionOutput_002);
var _CallFunction_013 = new armory.logicnode.CallFunctionNode(this);
var _ArrayLoop = new armory.logicnode.ArrayLoopNode(this);
var _Function_002 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_002", _Function_002);
_Function_002.addOutputs([_ArrayLoop]);
_Function_002.addOutputs([_ArrayLoop]);
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
_ArrayGet.addInput(_Function_002, 2);
var _Math_003 = new armory.logicnode.MathNode(this);
_Math_003.property0 = "Add";
_Math_003.property1 = "false";
var _Integer_004 = new armory.logicnode.IntegerNode(this);
_Integer_004.addInput(new armory.logicnode.IntegerNode(this, -2), 0);
var _SetVariable_002 = new armory.logicnode.SetVariableNode(this);
_SetVariable_002.addInput(_ArrayLoop, 0);
_SetVariable_002.addInput(_Integer_004, 0);
_SetVariable_002.addInput(_Math_003, 0);
_SetVariable_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetVariable_003 = new armory.logicnode.SetVariableNode(this);
_SetVariable_003.addInput(_ArrayLoop, 2);
_SetVariable_003.addInput(_Integer_004, 0);
var _Integer_005 = new armory.logicnode.IntegerNode(this);
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, -2), 0);
_Integer_005.addOutputs([_SetVariable_003]);
_SetVariable_003.addInput(_Integer_005, 0);
_SetVariable_003.addOutputs([new armory.logicnode.NullNode(this)]);
_Integer_004.addOutputs([_Math_003, _SetVariable_002, _SetVariable_003]);
_Math_003.addInput(_Integer_004, 0);
_Math_003.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
_ArrayGet_001.addInput(_Function_002, 3);
_ArrayGet_001.addInput(_Math_003, 0);
_ArrayGet_001.addOutputs([_CallFunction_013]);
_Math_003.addOutputs([_SetVariable_002, _ArrayGet, _ArrayGet_001]);
_ArrayGet.addInput(_Math_003, 0);
var _Math_002 = new armory.logicnode.MathNode(this);
_Math_002.property0 = "Multiply";
_Math_002.property1 = "false";
_Math_002.addInput(_ArrayGet, 0);
_Math_002.addInput(_Function_002, 4);
_Math_002.addOutputs([_CallFunction_013]);
_ArrayGet.addOutputs([_Math_002]);
_Function_002.addOutputs([_ArrayGet]);
_Function_002.addOutputs([_ArrayGet_001]);
_Function_002.addOutputs([_Math_002]);
_Function_002.addOutputs([_CallFunction_013]);
_Function_002.addOutputs([_CallFunction_013]);
_ArrayLoop.addInput(_Function_002, 0);
_ArrayLoop.addInput(_Function_002, 1);
_ArrayLoop.addOutputs([_CallFunction_013, _SetVariable_002]);
_ArrayLoop.addOutputs([_CallFunction_013]);
_ArrayLoop.addOutputs([_SetVariable_003]);
_CallFunction_013.addInput(_ArrayLoop, 0);
var _SelfTrait_004 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_004.addOutputs([_CallFunction_013]);
_CallFunction_013.addInput(_SelfTrait_004, 0);
_CallFunction_013.addInput(new armory.logicnode.StringNode(this, "Ajout_elements"), 0);
_CallFunction_013.addInput(_ArrayLoop, 1);
_CallFunction_013.addInput(_Math_002, 0);
_CallFunction_013.addInput(_ArrayGet_001, 0);
_CallFunction_013.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction_013.addInput(_Function_002, 5);
_CallFunction_013.addInput(_Function_002, 6);
_CallFunction_013.addOutputs([_FunctionOutput_002]);
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
_FunctionOutput_002.addInput(_CallFunction_013, 0);
_FunctionOutput_002.addInput(new armory.logicnode.NullNode(this), 0);
var _Float_003 = new armory.logicnode.FloatNode(this);
_Float_003.addInput(new armory.logicnode.FloatNode(this, 30.0), 0);
_Float_003.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _FunctionOutput_001 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_001", _FunctionOutput_001);
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
var _While = new armory.logicnode.WhileNode(this);
var _Function_001 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_001", _Function_001);
_Function_001.addOutputs([_While]);
var _SpawnObject = new armory.logicnode.SpawnObjectNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
var _Gate_002 = new armory.logicnode.GateNode(this);
_Gate_002.property0 = "Equal";
_Gate_002.property1 = 9.999999747378752e-05;
var _Gate_001 = new armory.logicnode.GateNode(this);
_Gate_001.property0 = "Equal";
_Gate_001.property1 = 9.999999747378752e-05;
var _CallFunction = new armory.logicnode.CallFunctionNode(this);
_CallFunction.addInput(_While, 0);
var _SelfTrait = new armory.logicnode.SelfTraitNode(this);
_SelfTrait.addOutputs([_CallFunction]);
_CallFunction.addInput(_SelfTrait, 0);
_CallFunction.addInput(new armory.logicnode.StringNode(this, "Ray_vec"), 0);
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction.addOutputs([_Gate_001]);
var _VectorMath = new armory.logicnode.VectorMathNode(this);
_VectorMath.property0 = "Add";
_VectorMath.addInput(_CallFunction, 1);
var _Vector_005 = new armory.logicnode.VectorNode(this);
_Vector_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_005.addInput(_Function_001, 5);
_Vector_005.addOutputs([_VectorMath]);
_VectorMath.addInput(_Vector_005, 0);
var _CastPhysicsRay = new armory.logicnode.CastPhysicsRayNode(this);
_CastPhysicsRay.addInput(_VectorMath, 0);
var _VectorMath_001 = new armory.logicnode.VectorMathNode(this);
_VectorMath_001.property0 = "Subtract";
_VectorMath_001.addInput(_VectorMath, 0);
var _Vector_006 = new armory.logicnode.VectorNode(this);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_006.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Math_001 = new armory.logicnode.MathNode(this);
_Math_001.property0 = "Subtract";
_Math_001.property1 = "false";
_Math_001.addInput(_Function_001, 5);
_Math_001.addInput(_Function_001, 6);
_Math_001.addOutputs([_Vector_006]);
_Vector_006.addInput(_Math_001, 0);
_Vector_006.addOutputs([_VectorMath_001]);
_VectorMath_001.addInput(_Vector_006, 0);
_VectorMath_001.addOutputs([_CastPhysicsRay]);
_VectorMath_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_CastPhysicsRay.addInput(_VectorMath_001, 0);
_CastPhysicsRay.addOutputs([_Gate_001]);
var _SetLocation = new armory.logicnode.SetLocationNode(this);
_SetLocation.addInput(_SpawnObject, 0);
_SetLocation.addInput(_SpawnObject, 1);
_SetLocation.addInput(_CastPhysicsRay, 1);
var _SetRotation = new armory.logicnode.SetRotationNode(this);
_SetRotation.addInput(_SetLocation, 0);
_SetRotation.addInput(_SpawnObject, 1);
var _Vector_007 = new armory.logicnode.VectorNode(this);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_007.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Random_Integer_ = new armory.logicnode.RandomIntegerNode(this);
_Random_Integer_.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Random_Integer_.addInput(new armory.logicnode.IntegerNode(this, 180), 0);
_Random_Integer_.addOutputs([_Vector_007]);
_Vector_007.addInput(_Random_Integer_, 0);
_Vector_007.addOutputs([_SetRotation]);
_SetRotation.addInput(_Vector_007, 0);
var _SetVariable = new armory.logicnode.SetVariableNode(this);
_SetVariable.addInput(_SetRotation, 0);
var _Integer_002 = new armory.logicnode.IntegerNode(this);
_Integer_002.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
var _Compare = new armory.logicnode.CompareNode(this);
_Compare.property0 = "Less";
_Compare.property1 = 9.999999747378752e-05;
_Compare.addInput(_Integer_002, 0);
_Compare.addInput(_Function_001, 2);
_Compare.addOutputs([_While]);
_Integer_002.addOutputs([_Compare, _Integer_002, _SetVariable_001]);
_SetVariable.addInput(_Integer_002, 0);
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Add";
_Math.property1 = "false";
_Math.addInput(_Integer_002, 0);
_Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Math.addOutputs([_SetVariable]);
_SetVariable.addInput(_Math, 0);
_SetVariable.addOutputs([new armory.logicnode.NullNode(this)]);
_SetRotation.addOutputs([_SetVariable]);
_SetLocation.addOutputs([_SetRotation]);
var _SeparateXYZ_002 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_002.addInput(_CastPhysicsRay, 1);
_SeparateXYZ_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SeparateXYZ_002.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_002.addInput(_Gate_002, 1);
var _SelfTrait_001 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_001.addOutputs([_CallFunction_002]);
_CallFunction_002.addInput(_SelfTrait_001, 0);
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "Cast_ray_cercle"), 0);
_CallFunction_002.addInput(_VectorMath, 0);
_CallFunction_002.addInput(_SeparateXYZ_002, 2);
_CallFunction_002.addInput(_Function_001, 3);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
_IsTrue_001.addInput(_CallFunction_002, 0);
_IsTrue_001.addInput(_CallFunction_002, 1);
_IsTrue_001.addOutputs([_Merge]);
_CallFunction_002.addOutputs([_IsTrue_001]);
_CallFunction_002.addOutputs([_IsTrue_001]);
_SeparateXYZ_002.addOutputs([_CallFunction_002]);
_CastPhysicsRay.addOutputs([_SetLocation, _SeparateXYZ_002]);
_CastPhysicsRay.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_VectorMath.addOutputs([_CastPhysicsRay, _VectorMath_001, _CallFunction_002]);
_VectorMath.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_CallFunction.addOutputs([_VectorMath]);
_Gate_001.addInput(_CallFunction, 0);
var _Object = new armory.logicnode.ObjectNode(this);
_Object.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Object.addOutputs([_Gate_001]);
_Gate_001.addInput(_Object, 0);
_Gate_001.addInput(_CastPhysicsRay, 0);
_Gate_001.addOutputs([_Gate_002]);
_Gate_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Gate_002.addInput(_Gate_001, 0);
_Gate_002.addInput(_Function_001, 3);
var _Float_004 = new armory.logicnode.FloatNode(this);
_Float_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Float_004.addOutputs([_Gate_002]);
_Gate_002.addInput(_Float_004, 0);
_Gate_002.addOutputs([_Merge]);
_Gate_002.addOutputs([_CallFunction_002]);
_Merge.addInput(_Gate_002, 0);
_Merge.addInput(_IsTrue_001, 0);
_Merge.addOutputs([_SpawnObject]);
_SpawnObject.addInput(_Merge, 0);
_SpawnObject.addInput(_Function_001, 1);
_SpawnObject.addInput(new armory.logicnode.NullNode(this), 0);
_SpawnObject.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_SpawnObject.addOutputs([_SetLocation]);
_SpawnObject.addOutputs([_SetLocation, _SetRotation]);
_Function_001.addOutputs([_SpawnObject]);
_Function_001.addOutputs([_Compare]);
_Function_001.addOutputs([_CallFunction_002, _Gate_002]);
_Function_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Function_001.addOutputs([_Vector_005, _Math_001]);
_Function_001.addOutputs([_Math_001]);
_While.addInput(_Function_001, 0);
_While.addInput(_Compare, 0);
_While.addOutputs([_CallFunction]);
_While.addOutputs([_SetVariable_001]);
_SetVariable_001.addInput(_While, 1);
_SetVariable_001.addInput(_Integer_002, 0);
var _Integer_003 = new armory.logicnode.IntegerNode(this);
_Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Integer_003.addOutputs([_SetVariable_001]);
_SetVariable_001.addInput(_Integer_003, 0);
_SetVariable_001.addOutputs([_FunctionOutput_001]);
_FunctionOutput_001.addInput(_SetVariable_001, 0);
_FunctionOutput_001.addInput(new armory.logicnode.NullNode(this), 0);
var _FunctionOutput_006 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_006", _FunctionOutput_006);
var _Loop = new armory.logicnode.LoopNode(this);
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
var _Function_006 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_006", _Function_006);
_Function_006.addOutputs([_SetProperty]);
var _SeparateXYZ_004 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_004.addInput(_Function_006, 1);
var _Math_010 = new armory.logicnode.MathNode(this);
_Math_010.property0 = "Add";
_Math_010.property1 = "false";
_Math_010.addInput(_SeparateXYZ_004, 0);
var _Math_015 = new armory.logicnode.MathNode(this);
_Math_015.property0 = "Multiply";
_Math_015.property1 = "false";
_Math_015.addInput(_Function_006, 3);
var _Math_009 = new armory.logicnode.MathNode(this);
_Math_009.property0 = "Cosine";
_Math_009.property1 = "false";
var _DegtoRad_001 = new armory.logicnode.DegToRadNode(this);
var _Math_013 = new armory.logicnode.MathNode(this);
_Math_013.property0 = "Multiply";
_Math_013.property1 = "false";
_Math_013.addInput(_Loop, 1);
_Math_013.addInput(new armory.logicnode.FloatNode(this, 45.0), 0);
_Math_013.addOutputs([_DegtoRad_001]);
_DegtoRad_001.addInput(_Math_013, 0);
var _Math_011 = new armory.logicnode.MathNode(this);
_Math_011.property0 = "Sine";
_Math_011.property1 = "false";
_Math_011.addInput(_DegtoRad_001, 0);
_Math_011.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
var _Math_014 = new armory.logicnode.MathNode(this);
_Math_014.property0 = "Multiply";
_Math_014.property1 = "false";
_Math_014.addInput(_Function_006, 3);
_Math_014.addInput(_Math_011, 0);
var _Math_012 = new armory.logicnode.MathNode(this);
_Math_012.property0 = "Add";
_Math_012.property1 = "false";
_Math_012.addInput(_SeparateXYZ_004, 1);
_Math_012.addInput(_Math_014, 0);
var _Vector_011 = new armory.logicnode.VectorNode(this);
_Vector_011.addInput(_Math_010, 0);
_Vector_011.addInput(_Math_012, 0);
var _Math_023 = new armory.logicnode.MathNode(this);
_Math_023.property0 = "Add";
_Math_023.property1 = "false";
_Math_023.addInput(_Function_006, 2);
_Math_023.addInput(new armory.logicnode.FloatNode(this, 0.10000000149011612), 0);
_Math_023.addOutputs([_Vector_011]);
_Vector_011.addInput(_Math_023, 0);
var _CastPhysicsRay_004 = new armory.logicnode.CastPhysicsRayNode(this);
_CastPhysicsRay_004.addInput(_Vector_011, 0);
var _Vector_016 = new armory.logicnode.VectorNode(this);
_Vector_016.addInput(_Math_010, 0);
_Vector_016.addInput(_Math_012, 0);
var _Math_024 = new armory.logicnode.MathNode(this);
_Math_024.property0 = "Subtract";
_Math_024.property1 = "false";
_Math_024.addInput(_Function_006, 2);
_Math_024.addInput(new armory.logicnode.FloatNode(this, 0.10000000149011612), 0);
_Math_024.addOutputs([_Vector_016]);
_Vector_016.addInput(_Math_024, 0);
_Vector_016.addOutputs([_CastPhysicsRay_004]);
_CastPhysicsRay_004.addInput(_Vector_016, 0);
var _Gate_005 = new armory.logicnode.GateNode(this);
_Gate_005.property0 = "Equal";
_Gate_005.property1 = 9.999999747378752e-05;
_Gate_005.addInput(_Loop, 0);
var _Object_004 = new armory.logicnode.ObjectNode(this);
_Object_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Object_004.addOutputs([_Gate_005]);
_Gate_005.addInput(_Object_004, 0);
_Gate_005.addInput(_CastPhysicsRay_004, 0);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_001.addInput(_Gate_005, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_005 = new armory.logicnode.BooleanNode(this);
_Boolean_005.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_005.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_Boolean_005, 0);
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Gate_005.addOutputs([_SetProperty_001]);
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_002.addInput(_Gate_005, 1);
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_006 = new armory.logicnode.BooleanNode(this);
_Boolean_006.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_006.addOutputs([_SetProperty_002]);
_SetProperty_002.addInput(_Boolean_006, 0);
var _LoopBreak = new armory.logicnode.LoopBreakNode(this);
_LoopBreak.addInput(_SetProperty_002, 0);
_SetProperty_002.addOutputs([_LoopBreak]);
_Gate_005.addOutputs([_SetProperty_002]);
_CastPhysicsRay_004.addOutputs([_Gate_005]);
_CastPhysicsRay_004.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_CastPhysicsRay_004.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_Vector_011.addOutputs([_CastPhysicsRay_004]);
_Math_012.addOutputs([_Vector_011, _Vector_016]);
_Math_014.addOutputs([_Math_012]);
_Math_011.addOutputs([_Math_014]);
_DegtoRad_001.addOutputs([_Math_009, _Math_011]);
_Math_009.addInput(_DegtoRad_001, 0);
_Math_009.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Math_009.addOutputs([_Math_015]);
_Math_015.addInput(_Math_009, 0);
_Math_015.addOutputs([_Math_010]);
_Math_010.addInput(_Math_015, 0);
_Math_010.addOutputs([_Vector_011, _Vector_016]);
_SeparateXYZ_004.addOutputs([_Math_010]);
_SeparateXYZ_004.addOutputs([_Math_012]);
_SeparateXYZ_004.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_Function_006.addOutputs([_SeparateXYZ_004]);
_Function_006.addOutputs([_Math_023, _Math_024]);
_Function_006.addOutputs([_Math_015, _Math_014]);
_SetProperty.addInput(_Function_006, 0);
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
var _Boolean_004 = new armory.logicnode.BooleanNode(this);
_Boolean_004.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_004.addOutputs([_SetProperty]);
_SetProperty.addInput(_Boolean_004, 0);
_SetProperty.addOutputs([_Loop]);
_Loop.addInput(_SetProperty, 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Loop.addOutputs([_Gate_005]);
_Loop.addOutputs([_Math_013]);
_Loop.addOutputs([_FunctionOutput_006]);
_FunctionOutput_006.addInput(_Loop, 2);
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "cast_ok"), 0);
_GetProperty.addOutputs([_FunctionOutput_006]);
_FunctionOutput_006.addInput(_GetProperty, 0);
var _Float_006 = new armory.logicnode.FloatNode(this);
_Float_006.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Float_006.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, -12.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_013 = new armory.logicnode.VectorNode(this);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 140.0), 0);
_Vector_013.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_013.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_012 = new armory.logicnode.VectorNode(this);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, -7.0), 0);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 67.0), 0);
_Vector_012.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_012.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_015 = new armory.logicnode.VectorNode(this);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, -14.799999237060547), 0);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, 70.0), 0);
_Vector_015.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_015.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_014 = new armory.logicnode.VectorNode(this);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 141.0), 0);
_Vector_014.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_014.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Vector_003 = new armory.logicnode.VectorNode(this);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 4.5), 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 135.0), 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_003.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
var _Print = new armory.logicnode.PrintNode(this);
_Print.addInput(new armory.logicnode.NullNode(this), 0);
_Print.addInput(new armory.logicnode.NullNode(this), 0);
_Print.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_016 = new armory.logicnode.CallFunctionNode(this);
var _CallFunction_015 = new armory.logicnode.CallFunctionNode(this);
var _CallFunction_014 = new armory.logicnode.CallFunctionNode(this);
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
_OnInit_001.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_OnInit_001, 0);
var _SelfTrait_005 = new armory.logicnode.SelfTraitNode(this);
_SelfTrait_005.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_CallFunction_014.addInput(_SelfTrait_005, 0);
_CallFunction_014.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
var _Array_Object_ = new armory.logicnode.ArrayObjectNode(this);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ brun1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ brun2"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ rouge1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Champignon_ rouge2"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.007"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.008"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.013"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.026"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.028"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.029"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_001.030"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_star_long1"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "flower_star_long2"), 0);
_Array_Object_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Object_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Object_, 0);
var _Array_Integer_ = new armory.logicnode.ArrayIntegerNode(this);
var _Integer = new armory.logicnode.IntegerNode(this);
_Integer.addInput(new armory.logicnode.IntegerNode(this, 10), 0);
_Integer.addOutputs([_Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_, _Array_Integer_]);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addInput(_Integer, 0);
_Array_Integer_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Integer_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Integer_, 0);
var _Array_Float_ = new armory.logicnode.ArrayFloatNode(this);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.7649999856948853), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Array_Float_.addOutputs([_CallFunction_014, _CallFunction_015, _CallFunction_016]);
_Array_Float_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_CallFunction_014.addInput(_Array_Float_, 0);
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Float_002.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_002, 0);
var _Float_009 = new armory.logicnode.FloatNode(this);
_Float_009.addInput(new armory.logicnode.FloatNode(this, 4.0), 0);
_Float_009.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_009, 0);
var _Float_010 = new armory.logicnode.FloatNode(this);
_Float_010.addInput(new armory.logicnode.FloatNode(this, -10.0), 0);
_Float_010.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Float_010, 0);
_CallFunction_014.addOutputs([_CallFunction_015]);
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_015.addInput(_CallFunction_014, 0);
_CallFunction_015.addInput(_SelfTrait_005, 0);
_CallFunction_015.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
_CallFunction_015.addInput(_Array_Object_, 0);
_CallFunction_015.addInput(_Array_Integer_, 0);
_CallFunction_015.addInput(_Array_Float_, 0);
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Float_001.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_001, 0);
var _Float_011 = new armory.logicnode.FloatNode(this);
_Float_011.addInput(new armory.logicnode.FloatNode(this, 18.0), 0);
_Float_011.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_011, 0);
var _Float_012 = new armory.logicnode.FloatNode(this);
_Float_012.addInput(new armory.logicnode.FloatNode(this, 4.0), 0);
_Float_012.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Float_012, 0);
_CallFunction_015.addOutputs([_CallFunction_016]);
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_016.addInput(_CallFunction_015, 0);
_CallFunction_016.addInput(_SelfTrait_005, 0);
_CallFunction_016.addInput(new armory.logicnode.StringNode(this, "Ajout_objet"), 0);
_CallFunction_016.addInput(_Array_Object_, 0);
_CallFunction_016.addInput(_Array_Integer_, 0);
_CallFunction_016.addInput(_Array_Float_, 0);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_Float.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float, 0);
var _Float_013 = new armory.logicnode.FloatNode(this);
_Float_013.addInput(new armory.logicnode.FloatNode(this, 45.0), 0);
_Float_013.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float_013, 0);
var _Float_014 = new armory.logicnode.FloatNode(this);
_Float_014.addInput(new armory.logicnode.FloatNode(this, 25.0), 0);
_Float_014.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Float_014, 0);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
}
public function Ray_vec(arg0:Dynamic, arg1:Dynamic) {
var functionNode = this.functionNodes["_Function"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput"].result;
}
public function Ajout_objet(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic, arg4:Dynamic, arg5:Dynamic) {
var functionNode = this.functionNodes["_Function_002"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.args.push(arg3);
functionNode.args.push(arg4);
functionNode.args.push(arg5);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_002"].result;
}
public function Ajout_elements(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic, arg3:Dynamic, arg4:Dynamic, arg5:Dynamic) {
var functionNode = this.functionNodes["_Function_001"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.args.push(arg3);
functionNode.args.push(arg4);
functionNode.args.push(arg5);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_001"].result;
}
public function Cast_ray_cercle(arg0:Dynamic, arg1:Dynamic, arg2:Dynamic) {
var functionNode = this.functionNodes["_Function_006"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.args.push(arg2);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_006"].result;
}
}

View File

@ -0,0 +1,373 @@
package arm.node;
@:keep class Deplacement extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Deplacement";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _PlayAction_004 = new armory.logicnode.PlayActionNode(this);
var _IsFalse = new armory.logicnode.IsFalseNode(this);
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_004.property0 = "Down";
_OnKeyboard_004.property1 = "left";
_OnKeyboard_004.addOutputs([_IsFalse]);
_IsFalse.addInput(_OnKeyboard_004, 0);
var _GetProperty_002 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
_GetProperty_002.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
var _IsFalse_001 = new armory.logicnode.IsFalseNode(this);
var _OnKeyboard_005 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_005.property0 = "Down";
_OnKeyboard_005.property1 = "right";
_OnKeyboard_005.addOutputs([_IsFalse_001]);
_IsFalse_001.addInput(_OnKeyboard_005, 0);
_IsFalse_001.addInput(_GetProperty_002, 0);
var _RotateObject_001 = new armory.logicnode.RotateObjectNode(this);
_RotateObject_001.addInput(_IsFalse_001, 0);
_RotateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Multiply";
_Math.property1 = "false";
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 0.05000000074505806), 0);
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(_Float_001, 0);
var _RotateObject = new armory.logicnode.RotateObjectNode(this);
_RotateObject.addInput(_IsFalse, 0);
_RotateObject.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_RotateObject.addInput(_Vector, 0);
_RotateObject.addOutputs([new armory.logicnode.NullNode(this)]);
_Vector.addOutputs([_RotateObject]);
_Float_001.addOutputs([_Vector, _Math]);
_Math.addInput(_Float_001, 0);
_Math.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
_Math.addOutputs([_Vector_001]);
_Vector_001.addInput(_Math, 0);
_Vector_001.addOutputs([_RotateObject_001]);
_RotateObject_001.addInput(_Vector_001, 0);
_RotateObject_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_003 = new armory.logicnode.PlayActionNode(this);
_PlayAction_003.addInput(_IsFalse_001, 0);
_PlayAction_003.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_003.addInput(new armory.logicnode.StringNode(this, "Frankie_Turn.R"), 0);
_PlayAction_003.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_003.addOutputs([new armory.logicnode.NullNode(this)]);
_IsFalse_001.addOutputs([_RotateObject_001, _PlayAction_003]);
_GetProperty_002.addOutputs([_IsFalse, _IsFalse_001]);
_IsFalse.addInput(_GetProperty_002, 0);
_IsFalse.addOutputs([_RotateObject, _PlayAction_004]);
_PlayAction_004.addInput(_IsFalse, 0);
_PlayAction_004.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_004.addInput(new armory.logicnode.StringNode(this, "Frankie_Turn.L"), 0);
_PlayAction_004.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_004.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_004.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_002 = new armory.logicnode.PlayActionNode(this);
var _Branch_001 = new armory.logicnode.BranchNode(this);
var _ArrayLoop_001 = new armory.logicnode.ArrayLoopNode(this);
var _SetProperty_004 = new armory.logicnode.SetPropertyNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
var _OnKeyboard_003 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_003.property0 = "Released";
_OnKeyboard_003.property1 = "up";
_OnKeyboard_003.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_003, 0);
var _OnKeyboard_008 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_008.property0 = "Released";
_OnKeyboard_008.property1 = "down";
_OnKeyboard_008.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_008, 0);
var _OnKeyboard_006 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_006.property0 = "Released";
_OnKeyboard_006.property1 = "right";
_OnKeyboard_006.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_006, 0);
var _OnKeyboard_007 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_007.property0 = "Released";
_OnKeyboard_007.property1 = "left";
_OnKeyboard_007.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_007, 0);
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_002.addInput(_Merge, 0);
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
var _Boolean_002 = new armory.logicnode.BooleanNode(this);
_Boolean_002.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_002.addOutputs([_SetProperty_002, _SetProperty_004]);
_SetProperty_002.addInput(_Boolean_002, 0);
_SetProperty_002.addOutputs([new armory.logicnode.NullNode(this)]);
_Merge.addOutputs([_SetProperty_002, _SetProperty_004]);
_SetProperty_004.addInput(_Merge, 0);
_SetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetProperty_004.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
_SetProperty_004.addInput(_Boolean_002, 0);
_SetProperty_004.addOutputs([_ArrayLoop_001]);
_ArrayLoop_001.addInput(_SetProperty_004, 0);
var _Array_Object__001 = new armory.logicnode.ArrayObjectNode(this);
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "frankies_home"), 0);
_Array_Object__001.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_Array_Object__001.addOutputs([_ArrayLoop_001]);
_Array_Object__001.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_ArrayLoop_001.addInput(_Array_Object__001, 0);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
_IsTrue_001.addInput(_ArrayLoop_001, 0);
var _HasContact_001 = new armory.logicnode.HasContactNode(this);
_HasContact_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_HasContact_001.addInput(_ArrayLoop_001, 1);
_HasContact_001.addOutputs([_IsTrue_001]);
_IsTrue_001.addInput(_HasContact_001, 0);
var _SetProperty_003 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_003.addInput(_IsTrue_001, 0);
_SetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetProperty_003.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
var _Boolean_003 = new armory.logicnode.BooleanNode(this);
_Boolean_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_003.addOutputs([_SetProperty_003]);
_SetProperty_003.addInput(_Boolean_003, 0);
var _LoopBreak_001 = new armory.logicnode.LoopBreakNode(this);
_LoopBreak_001.addInput(_SetProperty_003, 0);
_SetProperty_003.addOutputs([_LoopBreak_001]);
_IsTrue_001.addOutputs([_SetProperty_003]);
_ArrayLoop_001.addOutputs([_IsTrue_001]);
_ArrayLoop_001.addOutputs([_HasContact_001]);
_ArrayLoop_001.addOutputs([_Branch_001]);
_Branch_001.addInput(_ArrayLoop_001, 2);
var _GetProperty_001 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_GetProperty_001.addInput(new armory.logicnode.StringNode(this, "contact"), 0);
_GetProperty_001.addOutputs([_Branch_001]);
_Branch_001.addInput(_GetProperty_001, 0);
_Branch_001.addOutputs([_PlayAction_002]);
var _PlayAction_008 = new armory.logicnode.PlayActionNode(this);
_PlayAction_008.addInput(_Branch_001, 1);
_PlayAction_008.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_008.addInput(new armory.logicnode.StringNode(this, "Frankie_Falling"), 0);
_PlayAction_008.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_008.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_008.addOutputs([new armory.logicnode.NullNode(this)]);
_Branch_001.addOutputs([_PlayAction_008]);
_PlayAction_002.addInput(_Branch_001, 0);
_PlayAction_002.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_002.addInput(new armory.logicnode.StringNode(this, "Frankie_Idle1"), 0);
_PlayAction_002.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_006 = new armory.logicnode.PlayActionNode(this);
var _Merge_001 = new armory.logicnode.MergeNode(this);
var _OnContact_004 = new armory.logicnode.OnContactNode(this);
_OnContact_004.property0 = "Begin";
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_OnContact_004.addOutputs([_Merge_001]);
_Merge_001.addInput(_OnContact_004, 0);
var _OnContact_006 = new armory.logicnode.OnContactNode(this);
_OnContact_006.property0 = "Begin";
_OnContact_006.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_006.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
_OnContact_006.addOutputs([_Merge_001]);
_Merge_001.addInput(_OnContact_006, 0);
var _OnContact_005 = new armory.logicnode.OnContactNode(this);
_OnContact_005.property0 = "Begin";
_OnContact_005.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_005.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
_OnContact_005.addOutputs([_Merge_001]);
_Merge_001.addInput(_OnContact_005, 0);
var _OnContact_007 = new armory.logicnode.OnContactNode(this);
_OnContact_007.property0 = "Begin";
_OnContact_007.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_007.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_OnContact_007.addOutputs([_Merge_001]);
_Merge_001.addInput(_OnContact_007, 0);
_Merge_001.addOutputs([_PlayAction_006]);
_PlayAction_006.addInput(_Merge_001, 0);
_PlayAction_006.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_006.addInput(new armory.logicnode.StringNode(this, "Frankie_Idle1"), 0);
_PlayAction_006.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_006.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_006.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_011 = new armory.logicnode.PlayActionNode(this);
var _PlayAction_010 = new armory.logicnode.PlayActionNode(this);
var _ApplyForce = new armory.logicnode.ApplyForceNode(this);
var _IsTrue = new armory.logicnode.IsTrueNode(this);
var _ArrayLoop = new armory.logicnode.ArrayLoopNode(this);
var _IsFalse_004 = new armory.logicnode.IsFalseNode(this);
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard.property0 = "Started";
_OnKeyboard.property1 = "space";
_OnKeyboard.addOutputs([_IsFalse_004]);
_IsFalse_004.addInput(_OnKeyboard, 0);
var _GetProperty_004 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_GetProperty_004.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
_GetProperty_004.addOutputs([_IsFalse_004]);
_IsFalse_004.addInput(_GetProperty_004, 0);
_IsFalse_004.addOutputs([_ArrayLoop]);
_ArrayLoop.addInput(_IsFalse_004, 0);
var _Array_Object_ = new armory.logicnode.ArrayObjectNode(this);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
_Array_Object_.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_Array_Object_.addOutputs([_ArrayLoop]);
_Array_Object_.addOutputs([new armory.logicnode.IntegerNode(this, 0)]);
_ArrayLoop.addInput(_Array_Object_, 0);
_ArrayLoop.addOutputs([_IsTrue]);
var _HasContact = new armory.logicnode.HasContactNode(this);
_HasContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_HasContact.addInput(_ArrayLoop, 1);
_HasContact.addOutputs([_IsTrue]);
_ArrayLoop.addOutputs([_HasContact]);
_ArrayLoop.addOutputs([new armory.logicnode.NullNode(this)]);
_IsTrue.addInput(_ArrayLoop, 0);
_IsTrue.addInput(_HasContact, 0);
var _LoopBreak = new armory.logicnode.LoopBreakNode(this);
_LoopBreak.addInput(_IsTrue, 0);
_IsTrue.addOutputs([_ApplyForce, _LoopBreak]);
_ApplyForce.addInput(_IsTrue, 0);
_ApplyForce.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector_002 = new armory.logicnode.VectorNode(this);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 500.0), 0);
_Float_002.addOutputs([_Vector_002]);
_Vector_002.addInput(_Float_002, 0);
_Vector_002.addOutputs([_ApplyForce]);
_ApplyForce.addInput(_Vector_002, 0);
_ApplyForce.addOutputs([_PlayAction_010]);
_PlayAction_010.addInput(_ApplyForce, 0);
_PlayAction_010.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_010.addInput(new armory.logicnode.StringNode(this, "Frankie_Jump"), 0);
_PlayAction_010.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_010.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_010.addOutputs([_PlayAction_011]);
_PlayAction_011.addInput(_PlayAction_010, 1);
_PlayAction_011.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_011.addInput(new armory.logicnode.StringNode(this, "Frankie_Falling"), 0);
_PlayAction_011.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_011.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_011.addOutputs([new armory.logicnode.NullNode(this)]);
var _TranslateOnLocalAxis_001 = new armory.logicnode.TranslateOnLocalAxisNode(this);
var _IsFalse_003 = new armory.logicnode.IsFalseNode(this);
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_001.property0 = "Down";
_OnKeyboard_001.property1 = "down";
_OnKeyboard_001.addOutputs([_IsFalse_003]);
_IsFalse_003.addInput(_OnKeyboard_001, 0);
var _GetProperty_003 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
_GetProperty_003.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
var _IsFalse_002 = new armory.logicnode.IsFalseNode(this);
var _OnKeyboard_009 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_009.property0 = "Down";
_OnKeyboard_009.property1 = "up";
_OnKeyboard_009.addOutputs([_IsFalse_002]);
_IsFalse_002.addInput(_OnKeyboard_009, 0);
_IsFalse_002.addInput(_GetProperty_003, 0);
var _Branch = new armory.logicnode.BranchNode(this);
_Branch.addInput(_IsFalse_002, 0);
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
_GetProperty.addOutputs([_Branch]);
_Branch.addInput(_GetProperty, 0);
var _SendEvent_001 = new armory.logicnode.SendEventNode(this);
_SendEvent_001.addInput(_Branch, 0);
_SendEvent_001.addInput(new armory.logicnode.StringNode(this, "courrir"), 0);
_SendEvent_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SendEvent_001.addOutputs([new armory.logicnode.NullNode(this)]);
_Branch.addOutputs([_SendEvent_001]);
var _SendEvent = new armory.logicnode.SendEventNode(this);
_SendEvent.addInput(_Branch, 1);
_SendEvent.addInput(new armory.logicnode.StringNode(this, "avancer"), 0);
_SendEvent.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SendEvent.addOutputs([new armory.logicnode.NullNode(this)]);
_Branch.addOutputs([_SendEvent]);
_IsFalse_002.addOutputs([_Branch]);
_GetProperty_003.addOutputs([_IsFalse_002, _IsFalse_003]);
_IsFalse_003.addInput(_GetProperty_003, 0);
var _PlayAction_001 = new armory.logicnode.PlayActionNode(this);
_PlayAction_001.addInput(_IsFalse_003, 0);
_PlayAction_001.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_001.addInput(new armory.logicnode.StringNode(this, "Frankie_WalkBack"), 0);
_PlayAction_001.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_001.addOutputs([new armory.logicnode.NullNode(this)]);
_IsFalse_003.addOutputs([_TranslateOnLocalAxis_001, _PlayAction_001]);
_TranslateOnLocalAxis_001.addInput(_IsFalse_003, 0);
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
var _TranslateOnLocalAxis = new armory.logicnode.TranslateOnLocalAxisNode(this);
var _OnEvent = new armory.logicnode.OnEventNode(this);
_OnEvent.property0 = "avancer";
var _PlayAction = new armory.logicnode.PlayActionNode(this);
_PlayAction.addInput(_OnEvent, 0);
_PlayAction.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction.addInput(new armory.logicnode.StringNode(this, "Frankie_Walk"), 0);
_PlayAction.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
var _Sleep = new armory.logicnode.SleepNode(this);
_Sleep.addInput(_PlayAction, 0);
_Sleep.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
_SetProperty.addInput(_Sleep, 0);
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetProperty.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
var _Boolean = new armory.logicnode.BooleanNode(this);
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean.addOutputs([_SetProperty]);
_SetProperty.addInput(_Boolean, 0);
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
_Sleep.addOutputs([_SetProperty]);
_PlayAction.addOutputs([_Sleep]);
_PlayAction.addOutputs([new armory.logicnode.NullNode(this)]);
_OnEvent.addOutputs([_TranslateOnLocalAxis, _PlayAction]);
_TranslateOnLocalAxis.addInput(_OnEvent, 0);
_TranslateOnLocalAxis.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_TranslateOnLocalAxis.addInput(_Float, 0);
_TranslateOnLocalAxis.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_TranslateOnLocalAxis.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_TranslateOnLocalAxis.addOutputs([new armory.logicnode.NullNode(this)]);
_Float.addOutputs([_TranslateOnLocalAxis_001, _TranslateOnLocalAxis]);
_TranslateOnLocalAxis_001.addInput(_Float, 0);
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_TranslateOnLocalAxis_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_TranslateOnLocalAxis_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _PlayAction_005 = new armory.logicnode.PlayActionNode(this);
var _OnEvent_001 = new armory.logicnode.OnEventNode(this);
_OnEvent_001.property0 = "courrir";
var _TranslateOnLocalAxis_002 = new armory.logicnode.TranslateOnLocalAxisNode(this);
_TranslateOnLocalAxis_002.addInput(_OnEvent_001, 0);
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_TranslateOnLocalAxis_002.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_TranslateOnLocalAxis_002.addOutputs([new armory.logicnode.NullNode(this)]);
_OnEvent_001.addOutputs([_TranslateOnLocalAxis_002, _PlayAction_005]);
_PlayAction_005.addInput(_OnEvent_001, 0);
_PlayAction_005.addInput(new armory.logicnode.ObjectNode(this, "RigFrankie"), 0);
_PlayAction_005.addInput(new armory.logicnode.StringNode(this, "Frankie_Run"), 0);
_PlayAction_005.addInput(new armory.logicnode.FloatNode(this, 0.20000000298023224), 0);
_PlayAction_005.addOutputs([new armory.logicnode.NullNode(this)]);
_PlayAction_005.addOutputs([new armory.logicnode.NullNode(this)]);
}
}

View File

@ -0,0 +1,95 @@
package arm.node;
@:keep class Generale extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Generale";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
var _OnInit = new armory.logicnode.OnInitNode(this);
_OnInit.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_OnInit, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
var _Boolean = new armory.logicnode.BooleanNode(this);
_Boolean.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_Boolean, 0);
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetCamera = new armory.logicnode.SetCameraNode(this);
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
var _IsTrue = new armory.logicnode.IsTrueNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
_Merge.addInput(new armory.logicnode.NullNode(this), 0);
var _OnKeyboard_003 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_003.property0 = "Released";
_OnKeyboard_003.property1 = "down";
_OnKeyboard_003.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_003, 0);
var _OnKeyboard_004 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_004.property0 = "Released";
_OnKeyboard_004.property1 = "up";
_OnKeyboard_004.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_004, 0);
var _OnKeyboard_005 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_005.property0 = "Released";
_OnKeyboard_005.property1 = "left";
_OnKeyboard_005.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_005, 0);
var _OnKeyboard_006 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_006.property0 = "Released";
_OnKeyboard_006.property1 = "right";
_OnKeyboard_006.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_006, 0);
var _OnKeyboard_007 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_007.property0 = "Released";
_OnKeyboard_007.property1 = "f";
_OnKeyboard_007.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_007, 0);
var _OnKeyboard_008 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_008.property0 = "Released";
_OnKeyboard_008.property1 = "e";
_OnKeyboard_008.addOutputs([_Merge]);
_Merge.addInput(_OnKeyboard_008, 0);
_Merge.addOutputs([_IsTrue]);
_IsTrue.addInput(_Merge, 0);
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
_GetProperty.addOutputs([_IsTrue]);
_IsTrue.addInput(_GetProperty, 0);
_IsTrue.addOutputs([_SetProperty_002]);
_SetProperty_002.addInput(_IsTrue, 0);
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, "Signpost_depart"), 0);
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "depart"), 0);
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_001.addOutputs([_SetProperty_002]);
_SetProperty_002.addInput(_Boolean_001, 0);
_SetProperty_002.addOutputs([_SetCamera]);
_SetCamera.addInput(_SetProperty_002, 0);
_SetCamera.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
_SetCamera.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_002.property0 = "Released";
_OnKeyboard_002.property1 = "space";
_OnKeyboard_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _Shutdown = new armory.logicnode.ShutdownNode(this);
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard.property0 = "Down";
_OnKeyboard.property1 = "escape";
_OnKeyboard.addOutputs([_Shutdown]);
_Shutdown.addInput(_OnKeyboard, 0);
_Shutdown.addOutputs([new armory.logicnode.NullNode(this)]);
}
}

View File

@ -0,0 +1,489 @@
package arm.node;
@:keep class Plateforme_mvt extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Plateforme_mvt";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _Print_008 = new armory.logicnode.PrintNode(this);
_Print_008.addInput(new armory.logicnode.NullNode(this), 0);
_Print_008.addInput(new armory.logicnode.NullNode(this), 0);
_Print_008.addOutputs([new armory.logicnode.NullNode(this)]);
var _Print_007 = new armory.logicnode.PrintNode(this);
_Print_007.addInput(new armory.logicnode.NullNode(this), 0);
_Print_007.addInput(new armory.logicnode.NullNode(this), 0);
_Print_007.addOutputs([new armory.logicnode.NullNode(this)]);
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 _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 _ClearParent = new armory.logicnode.ClearParentNode(this);
_ClearParent.addInput(new armory.logicnode.NullNode(this), 0);
_ClearParent.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_ClearParent.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_ClearParent.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetParent = new armory.logicnode.SetParentNode(this);
_SetParent.addInput(new armory.logicnode.NullNode(this), 0);
_SetParent.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetParent.addInput(new armory.logicnode.ObjectNode(this, "platforme"), 0);
_SetParent.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetLocation_010 = new armory.logicnode.SetLocationNode(this);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard.property0 = "Started";
_OnKeyboard.property1 = "q";
_OnKeyboard.addOutputs([_IsTrue_001]);
_IsTrue_001.addInput(_OnKeyboard, 0);
var _KeyboardState = new armory.logicnode.KeyboardNode(this);
_KeyboardState.property0 = "Down";
_KeyboardState.property1 = "control";
_KeyboardState.addOutputs([_IsTrue_001]);
_IsTrue_001.addInput(_KeyboardState, 0);
_IsTrue_001.addOutputs([_SetLocation_010]);
_SetLocation_010.addInput(_IsTrue_001, 0);
_SetLocation_010.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
var _VectorMath = new armory.logicnode.VectorMathNode(this);
_VectorMath.property0 = "Add";
var _GetLocation = new armory.logicnode.GetLocationNode(this);
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_GetLocation.addOutputs([_VectorMath]);
_VectorMath.addInput(_GetLocation, 0);
var _Vector = new armory.logicnode.VectorNode(this);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Vector.addOutputs([_VectorMath]);
_VectorMath.addInput(_Vector, 0);
_VectorMath.addOutputs([_SetLocation_010]);
_VectorMath.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SetLocation_010.addInput(_VectorMath, 0);
_SetLocation_010.addOutputs([new armory.logicnode.NullNode(this)]);
var _GetContacts = new armory.logicnode.GetContactsNode(this);
_GetContacts.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetContacts.addOutputs([new armory.logicnode.NullNode(this)]);
var _GetContacts_001 = new armory.logicnode.GetContactsNode(this);
_GetContacts_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetContacts_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnContact = new armory.logicnode.OnContactNode(this);
_OnContact.property0 = "Begin";
_OnContact.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact.addInput(new armory.logicnode.ObjectNode(this, "platforme"), 0);
_OnContact.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnContact_001 = new armory.logicnode.OnContactNode(this);
_OnContact_001.property0 = "End";
_OnContact_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_001.addInput(new armory.logicnode.ObjectNode(this, "platforme"), 0);
_OnContact_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnVolumeTrigger = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger.property0 = "Enter";
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger.addInput(new armory.logicnode.ObjectNode(this, "platforme"), 0);
_OnVolumeTrigger.addOutputs([new armory.logicnode.NullNode(this)]);
var _OnVolumeTrigger_001 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_001.property0 = "Leave";
_OnVolumeTrigger_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_001.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_OnVolumeTrigger_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetParent_002 = new armory.logicnode.SetParentNode(this);
_SetParent_002.addInput(new armory.logicnode.NullNode(this), 0);
_SetParent_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetParent_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetParent_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetParent_001 = new armory.logicnode.SetParentNode(this);
_SetParent_001.addInput(new armory.logicnode.NullNode(this), 0);
_SetParent_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_SetParent_001.addInput(new armory.logicnode.ObjectNode(this, "Plateforme_box"), 0);
_SetParent_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
var _SetLocation_002 = new armory.logicnode.SetLocationNode(this);
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
_OnInit_001.addOutputs([_SetLocation_002]);
_SetLocation_002.addInput(_OnInit_001, 0);
_SetLocation_002.addInput(new armory.logicnode.ObjectNode(this, ""), 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]);
_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]);
_SetProperty.addInput(_Integer, 0);
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
var _SendEvent_004 = new armory.logicnode.SendEventNode(this);
_SendEvent_004.addInput(new armory.logicnode.NullNode(this), 0);
_SendEvent_004.addInput(new armory.logicnode.StringNode(this, "next_step"), 0);
_SendEvent_004.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SendEvent_004.addOutputs([new armory.logicnode.NullNode(this)]);
var _Gate = new armory.logicnode.GateNode(this);
_Gate.property0 = "Equal";
_Gate.property1 = 9.999999747378752e-05;
_Gate.addInput(new armory.logicnode.NullNode(this), 0);
_Gate.addInput(new armory.logicnode.NullNode(this), 0);
_Gate.addInput(new armory.logicnode.NullNode(this), 0);
_Gate.addOutputs([new armory.logicnode.NullNode(this)]);
_Gate.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
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);
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 _SeparateXYZ_005 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_005.addInput(_Vector_011, 0);
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);
var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this);
var _SetVariable_001 = new armory.logicnode.SetVariableNode(this);
_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);
var _SetVariable_002 = new armory.logicnode.SetVariableNode(this);
_SetVariable_002.addInput(_CallFunction_003, 0);
_SetVariable_002.addInput(_Float_003, 0);
_SetVariable_002.addInput(_CallFunction_003, 1);
var _CallFunction_004 = new armory.logicnode.CallFunctionNode(this);
_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);
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_004.addInput(_SeparateXYZ_006, 2);
var _SetVariable_009 = new armory.logicnode.SetVariableNode(this);
_SetVariable_009.addInput(_CallFunction_004, 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]);
_SetVariable_009.addInput(_Float_004, 0);
_SetVariable_009.addInput(_CallFunction_004, 1);
var _SetVariable_011 = new armory.logicnode.SetVariableNode(this);
_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 _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this);
_TranslateObject_001.addInput(_SetVariable_011, 0);
_TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_TranslateObject_001.addInput(_Vector_010, 0);
var _Branch = new armory.logicnode.BranchNode(this);
_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, "Plateforme_box"), 0);
_HasContact.addOutputs([_Branch]);
_Branch.addInput(_HasContact, 0);
var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this);
_TranslateObject_002.addInput(_Branch, 0);
_TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_TranslateObject_002.addInput(_Vector_010, 0);
var _Merge = new armory.logicnode.MergeNode(this);
_Merge.addInput(_TranslateObject_002, 0);
_Merge.addInput(_Branch, 1);
var _IsTrue_006 = new armory.logicnode.IsTrueNode(this);
_IsTrue_006.addInput(_Merge, 0);
var _Compare_004 = new armory.logicnode.CompareNode(this);
_Compare_004.property0 = "And";
_Compare_004.property1 = 9.999999747378752e-05;
var _Compare_001 = new armory.logicnode.CompareNode(this);
_Compare_001.property0 = "Equal";
_Compare_001.property1 = 9.999999747378752e-05;
var _SeparateXYZ_007 = new armory.logicnode.SeparateVectorNode(this);
_SeparateXYZ_007.addInput(_Vector_010, 0);
_SeparateXYZ_007.addOutputs([_Compare_001]);
var _Compare_002 = new armory.logicnode.CompareNode(this);
_Compare_002.property0 = "Equal";
_Compare_002.property1 = 9.999999747378752e-05;
_Compare_002.addInput(_SeparateXYZ_007, 1);
var _Float_005 = new armory.logicnode.FloatNode(this);
_Float_005.addInput(new armory.logicnode.FloatNode(this, 0.0), 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]);
_Float_005.addOutputs([_Compare_001, _Compare_002, _Compare_003]);
_Compare_002.addInput(_Float_005, 0);
_Compare_002.addOutputs([_Compare_004]);
_SeparateXYZ_007.addOutputs([_Compare_002]);
_SeparateXYZ_007.addOutputs([_Compare_003]);
_Compare_001.addInput(_SeparateXYZ_007, 0);
_Compare_001.addInput(_Float_005, 0);
_Compare_001.addOutputs([_Compare_004]);
_Compare_004.addInput(_Compare_001, 0);
_Compare_004.addInput(_Compare_002, 0);
_Compare_004.addInput(_Compare_003, 0);
_Compare_004.addOutputs([_IsTrue_006]);
_IsTrue_006.addInput(_Compare_004, 0);
var _CallFunction_012 = new armory.logicnode.CallFunctionNode(this);
_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);
var _SetVariable_015 = new armory.logicnode.SetVariableNode(this);
_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)]);
_CallFunction_012.addOutputs([_SetVariable_015]);
_CallFunction_012.addOutputs([_SetVariable_015]);
_IsTrue_006.addOutputs([_CallFunction_012]);
_Merge.addOutputs([_IsTrue_006]);
_TranslateObject_002.addOutputs([_Merge]);
_Branch.addOutputs([_TranslateObject_002]);
_Branch.addOutputs([_Merge]);
_TranslateObject_001.addOutputs([_Branch]);
_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]);
_SetVariable_009.addOutputs([_SetVariable_011]);
_CallFunction_004.addOutputs([_SetVariable_009]);
_CallFunction_004.addOutputs([_SetVariable_009]);
_SetVariable_002.addOutputs([_CallFunction_004]);
_Float_003.addOutputs([_SetVariable_002, _Vector_002]);
_Vector_002.addInput(_Float_003, 0);
_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]);
_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);
_CallFunction_002.addInput(_SeparateXYZ_005, 0);
_CallFunction_002.addInput(_SeparateXYZ_006, 0);
_CallFunction_002.addOutputs([_SetVariable_001]);
_CallFunction_002.addOutputs([_SetVariable_001]);
_SeparateXYZ_005.addOutputs([_CallFunction_002]);
_SeparateXYZ_005.addOutputs([_CallFunction_003]);
_SeparateXYZ_005.addOutputs([_CallFunction_004]);
_Vector_011.addOutputs([_SeparateXYZ_005, _SetVariable_016, _SetVariable_015]);
_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);
_SetVariable_016.addOutputs([_SetProperty_001]);
_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)]);
var _Print_005 = new armory.logicnode.PrintNode(this);
_Print_005.name = "Print_005";
_Print_005.watch(true);
_Print_005.addInput(new armory.logicnode.NullNode(this), 0);
_Print_005.addInput(new armory.logicnode.NullNode(this), 0);
_Print_005.addOutputs([new armory.logicnode.NullNode(this)]);
}
public function nextstep() {
var functionNode = this.functionNodes["_Function_002"];
functionNode.args = [];
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_004"].result;
}
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;
}
}

637
Sources/arm/node/Spawn.hx Normal file
View File

@ -0,0 +1,637 @@
package arm.node;
@:keep class Spawn extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "Spawn";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _CallFunction_012 = new armory.logicnode.CallFunctionNode(this);
var _SetRotation = new armory.logicnode.SetRotationNode(this);
var _Merge_002 = new armory.logicnode.MergeNode(this);
var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this);
var _Merge_001 = new armory.logicnode.MergeNode(this);
var _Gate = new armory.logicnode.GateNode(this);
_Gate.property0 = "Equal";
_Gate.property1 = 9.999999747378752e-05;
var _OnEvent = new armory.logicnode.OnEventNode(this);
_OnEvent.property0 = "spawn";
_OnEvent.addOutputs([_Gate]);
_Gate.addInput(_OnEvent, 0);
var _Integer_004 = new armory.logicnode.IntegerNode(this);
_Integer_004.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
_Integer_004.addOutputs([_Gate]);
_Gate.addInput(_Integer_004, 0);
var _GetProperty_009 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_009.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty_009.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
var _Gate_001 = new armory.logicnode.GateNode(this);
_Gate_001.property0 = "Equal";
_Gate_001.property1 = 9.999999747378752e-05;
_Gate_001.addInput(_Gate, 1);
var _Integer_005 = new armory.logicnode.IntegerNode(this);
_Integer_005.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
_Integer_005.addOutputs([_Gate_001]);
_Gate_001.addInput(_Integer_005, 0);
_Gate_001.addInput(_GetProperty_009, 0);
_Gate_001.addOutputs([_Merge_001]);
var _SetProperty_007 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_007.addInput(_Gate_001, 1);
_SetProperty_007.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_007.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
var _Math_003 = new armory.logicnode.MathNode(this);
_Math_003.property0 = "Add";
_Math_003.property1 = "false";
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 180.0), 0);
_Float_002.addOutputs([_Math_003]);
_Math_003.addInput(_Float_002, 0);
_Math_003.addInput(new armory.logicnode.FloatNode(this, -0.9292187690734863), 0);
_Math_003.addOutputs([_SetProperty_007]);
_SetProperty_007.addInput(_Math_003, 0);
_SetProperty_007.addOutputs([_Merge_002]);
_Gate_001.addOutputs([_SetProperty_007]);
_GetProperty_009.addOutputs([_Gate, _Gate_001]);
_Gate.addInput(_GetProperty_009, 0);
_Gate.addOutputs([_Merge_001]);
_Gate.addOutputs([_Gate_001]);
_Merge_001.addInput(_Gate, 0);
_Merge_001.addInput(_Gate_001, 0);
_Merge_001.addOutputs([_SetProperty_005]);
_SetProperty_005.addInput(_Merge_001, 0);
_SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_005.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
var _Math_004 = new armory.logicnode.MathNode(this);
_Math_004.property0 = "Add";
_Math_004.property1 = "false";
var _Float_003 = new armory.logicnode.FloatNode(this);
_Float_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Float_003.addOutputs([_Math_004]);
_Math_004.addInput(_Float_003, 0);
_Math_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Math_004.addOutputs([_SetProperty_005]);
_SetProperty_005.addInput(_Math_004, 0);
_SetProperty_005.addOutputs([_Merge_002]);
_Merge_002.addInput(_SetProperty_005, 0);
_Merge_002.addInput(_SetProperty_007, 0);
_Merge_002.addOutputs([_SetRotation]);
_SetRotation.addInput(_Merge_002, 0);
_SetRotation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _GetProperty_001 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty_001.addInput(new armory.logicnode.StringNode(this, "spawn_rot"), 0);
_GetProperty_001.addOutputs([_Vector_001]);
_Vector_001.addInput(_GetProperty_001, 0);
_Vector_001.addOutputs([_SetRotation]);
_SetRotation.addInput(_Vector_001, 0);
var _CallFunction_007 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_007.addInput(_SetRotation, 0);
var _GetTrait_001 = new armory.logicnode.GetTraitNode(this);
var _Object_001 = new armory.logicnode.ObjectNode(this);
_Object_001.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_Object_001.addOutputs([_GetTrait_001]);
_GetTrait_001.addInput(_Object_001, 0);
_GetTrait_001.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
var _CallFunction_008 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_008.addInput(_SetRotation, 0);
_CallFunction_008.addInput(_GetTrait_001, 0);
_CallFunction_008.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_005 = new armory.logicnode.GetLocationNode(this);
_GetLocation_005.addInput(new armory.logicnode.ObjectNode(this, "Spawn1"), 0);
_GetLocation_005.addOutputs([_CallFunction_008]);
_CallFunction_008.addInput(_GetLocation_005, 0);
var _Integer_028 = new armory.logicnode.IntegerNode(this);
_Integer_028.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_Integer_028.addOutputs([_CallFunction_008]);
_CallFunction_008.addInput(_Integer_028, 0);
_CallFunction_008.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_008.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_009 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_009.addInput(_SetRotation, 0);
_CallFunction_009.addInput(_GetTrait_001, 0);
_CallFunction_009.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_007 = new armory.logicnode.GetLocationNode(this);
_GetLocation_007.addInput(new armory.logicnode.ObjectNode(this, "Spawn2"), 0);
_GetLocation_007.addOutputs([_CallFunction_009]);
_CallFunction_009.addInput(_GetLocation_007, 0);
var _Integer_015 = new armory.logicnode.IntegerNode(this);
_Integer_015.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
_Integer_015.addOutputs([_CallFunction_009]);
_CallFunction_009.addInput(_Integer_015, 0);
_CallFunction_009.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_009.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_010 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_010.addInput(_SetRotation, 0);
_CallFunction_010.addInput(_GetTrait_001, 0);
_CallFunction_010.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_006 = new armory.logicnode.GetLocationNode(this);
_GetLocation_006.addInput(new armory.logicnode.ObjectNode(this, "Spawn3"), 0);
_GetLocation_006.addOutputs([_CallFunction_010]);
_CallFunction_010.addInput(_GetLocation_006, 0);
var _Integer_016 = new armory.logicnode.IntegerNode(this);
_Integer_016.addInput(new armory.logicnode.IntegerNode(this, 3), 0);
_Integer_016.addOutputs([_CallFunction_010]);
_CallFunction_010.addInput(_Integer_016, 0);
_CallFunction_010.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_010.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_011 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_011.addInput(_SetRotation, 0);
_CallFunction_011.addInput(_GetTrait_001, 0);
_CallFunction_011.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_009 = new armory.logicnode.GetLocationNode(this);
_GetLocation_009.addInput(new armory.logicnode.ObjectNode(this, "Spawn4"), 0);
_GetLocation_009.addOutputs([_CallFunction_011]);
_CallFunction_011.addInput(_GetLocation_009, 0);
var _Integer_018 = new armory.logicnode.IntegerNode(this);
_Integer_018.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
_Integer_018.addOutputs([_CallFunction_011]);
_CallFunction_011.addInput(_Integer_018, 0);
_CallFunction_011.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_011.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_013 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_013.addInput(_SetRotation, 0);
_CallFunction_013.addInput(_GetTrait_001, 0);
_CallFunction_013.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_012 = new armory.logicnode.GetLocationNode(this);
_GetLocation_012.addInput(new armory.logicnode.ObjectNode(this, "Spawn6"), 0);
_GetLocation_012.addOutputs([_CallFunction_013]);
_CallFunction_013.addInput(_GetLocation_012, 0);
var _Integer_020 = new armory.logicnode.IntegerNode(this);
_Integer_020.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
_Integer_020.addOutputs([_CallFunction_013]);
_CallFunction_013.addInput(_Integer_020, 0);
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_013.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_014 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_014.addInput(_SetRotation, 0);
_CallFunction_014.addInput(_GetTrait_001, 0);
_CallFunction_014.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_011 = new armory.logicnode.GetLocationNode(this);
_GetLocation_011.addInput(new armory.logicnode.ObjectNode(this, "Spawn7"), 0);
_GetLocation_011.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_GetLocation_011, 0);
var _Integer_019 = new armory.logicnode.IntegerNode(this);
_Integer_019.addInput(new armory.logicnode.IntegerNode(this, 7), 0);
_Integer_019.addOutputs([_CallFunction_014]);
_CallFunction_014.addInput(_Integer_019, 0);
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_014.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_015 = new armory.logicnode.CallFunctionNode(this);
_CallFunction_015.addInput(_SetRotation, 0);
_CallFunction_015.addInput(_GetTrait_001, 0);
_CallFunction_015.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_013 = new armory.logicnode.GetLocationNode(this);
_GetLocation_013.addInput(new armory.logicnode.ObjectNode(this, "Spawn8"), 0);
_GetLocation_013.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_GetLocation_013, 0);
var _Integer_029 = new armory.logicnode.IntegerNode(this);
_Integer_029.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Integer_029.addOutputs([_CallFunction_015]);
_CallFunction_015.addInput(_Integer_029, 0);
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_015.addOutputs([new armory.logicnode.NullNode(this)]);
_GetTrait_001.addOutputs([_CallFunction_007, _CallFunction_008, _CallFunction_009, _CallFunction_010, _CallFunction_011, _CallFunction_012, _CallFunction_013, _CallFunction_014, _CallFunction_015]);
_CallFunction_007.addInput(_GetTrait_001, 0);
_CallFunction_007.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_010 = new armory.logicnode.GetLocationNode(this);
_GetLocation_010.addInput(new armory.logicnode.ObjectNode(this, "Spawn0"), 0);
_GetLocation_010.addOutputs([_CallFunction_007]);
_CallFunction_007.addInput(_GetLocation_010, 0);
var _Integer_027 = new armory.logicnode.IntegerNode(this);
_Integer_027.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Integer_027.addOutputs([_CallFunction_007]);
_CallFunction_007.addInput(_Integer_027, 0);
_CallFunction_007.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_007.addOutputs([new armory.logicnode.NullNode(this)]);
_SetRotation.addOutputs([_CallFunction_007, _CallFunction_008, _CallFunction_009, _CallFunction_010, _CallFunction_011, _CallFunction_012, _CallFunction_013, _CallFunction_014, _CallFunction_015]);
_CallFunction_012.addInput(_SetRotation, 0);
_CallFunction_012.addInput(_GetTrait_001, 0);
_CallFunction_012.addInput(new armory.logicnode.StringNode(this, "go_spawn"), 0);
var _GetLocation_008 = new armory.logicnode.GetLocationNode(this);
_GetLocation_008.addInput(new armory.logicnode.ObjectNode(this, "Spawn5"), 0);
_GetLocation_008.addOutputs([_CallFunction_012]);
_CallFunction_012.addInput(_GetLocation_008, 0);
var _Integer_017 = new armory.logicnode.IntegerNode(this);
_Integer_017.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
_Integer_017.addOutputs([_CallFunction_012]);
_CallFunction_012.addInput(_Integer_017, 0);
_CallFunction_012.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_012.addOutputs([new armory.logicnode.NullNode(this)]);
var _FunctionOutput_001 = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput_001", _FunctionOutput_001);
var _SetProperty_004 = new armory.logicnode.SetPropertyNode(this);
var _SetLocation_010 = new armory.logicnode.SetLocationNode(this);
var _Branch_012 = new armory.logicnode.BranchNode(this);
var _Function_001 = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function_001", _Function_001);
_Function_001.addOutputs([_Branch_012]);
_Function_001.addOutputs([_SetLocation_010]);
var _Compare_013 = new armory.logicnode.CompareNode(this);
_Compare_013.property0 = "Equal";
_Compare_013.property1 = 9.999999747378752e-05;
_Compare_013.addInput(_Function_001, 2);
var _GetProperty_008 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_008.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty_008.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
_GetProperty_008.addOutputs([_Compare_013]);
_Compare_013.addInput(_GetProperty_008, 0);
_Compare_013.addOutputs([_Branch_012]);
_Function_001.addOutputs([_Compare_013]);
_Branch_012.addInput(_Function_001, 0);
_Branch_012.addInput(_Compare_013, 0);
_Branch_012.addOutputs([_SetLocation_010]);
_Branch_012.addOutputs([new armory.logicnode.NullNode(this)]);
_SetLocation_010.addInput(_Branch_012, 0);
_SetLocation_010.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetLocation_010.addInput(_Function_001, 1);
_SetLocation_010.addOutputs([_SetProperty_004]);
_SetProperty_004.addInput(_SetLocation_010, 0);
_SetProperty_004.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_004.addInput(new armory.logicnode.StringNode(this, "courrir_on"), 0);
var _Boolean_006 = new armory.logicnode.BooleanNode(this);
_Boolean_006.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_006.addOutputs([_SetProperty_004]);
_SetProperty_004.addInput(_Boolean_006, 0);
_SetProperty_004.addOutputs([_FunctionOutput_001]);
_FunctionOutput_001.addInput(_SetProperty_004, 0);
_FunctionOutput_001.addInput(new armory.logicnode.NullNode(this), 0);
var _SetVisible_011 = new armory.logicnode.SetVisibleNode(this);
var _Loop_001 = new armory.logicnode.LoopNode(this);
var _Loop_002 = new armory.logicnode.LoopNode(this);
var _OnInit_001 = new armory.logicnode.OnInitNode(this);
_OnInit_001.addOutputs([_Loop_002]);
_Loop_002.addInput(_OnInit_001, 0);
_Loop_002.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_Loop_002.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Loop_002.addOutputs([_Loop_001]);
var _ConcatenateString_001 = new armory.logicnode.ConcatenateStringNode(this);
var _String_001 = new armory.logicnode.StringNode(this);
_String_001.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
_String_001.addOutputs([_ConcatenateString_001]);
_ConcatenateString_001.addInput(_String_001, 0);
_ConcatenateString_001.addInput(_Loop_002, 1);
var _GetObject_001 = new armory.logicnode.GetObjectNode(this);
_GetObject_001.addInput(_ConcatenateString_001, 0);
var _GetChildren_001 = new armory.logicnode.GetChildrenNode(this);
_GetChildren_001.addInput(_GetObject_001, 0);
var _ArrayGet_001 = new armory.logicnode.ArrayGetNode(this);
_ArrayGet_001.addInput(_GetChildren_001, 0);
_ArrayGet_001.addInput(_Loop_001, 1);
_ArrayGet_001.addOutputs([_SetVisible_011]);
var _ArrayLength_001 = new armory.logicnode.ArrayLengthNode(this);
_ArrayLength_001.addInput(_GetChildren_001, 0);
_ArrayLength_001.addOutputs([_Loop_001]);
_GetChildren_001.addOutputs([_ArrayGet_001, _ArrayLength_001]);
_GetObject_001.addOutputs([_GetChildren_001]);
_ConcatenateString_001.addOutputs([_GetObject_001]);
_Loop_002.addOutputs([_ConcatenateString_001]);
_Loop_002.addOutputs([new armory.logicnode.NullNode(this)]);
_Loop_001.addInput(_Loop_002, 0);
_Loop_001.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Loop_001.addInput(_ArrayLength_001, 0);
_Loop_001.addOutputs([_SetVisible_011]);
_Loop_001.addOutputs([_ArrayGet_001]);
_Loop_001.addOutputs([new armory.logicnode.NullNode(this)]);
_SetVisible_011.addInput(_Loop_001, 0);
_SetVisible_011.addInput(_ArrayGet_001, 0);
_SetVisible_011.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_SetVisible_011.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_016 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_014 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_014.property0 = "Enter";
_OnVolumeTrigger_014.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_014.addInput(new armory.logicnode.ObjectNode(this, "Spawn8"), 0);
_OnVolumeTrigger_014.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_OnVolumeTrigger_014, 0);
var _SelfTrait = new armory.logicnode.SelfTraitNode(this);
_SelfTrait.addOutputs([_SelfTrait, _SelfTrait]);
_CallFunction_016.addInput(_SelfTrait, 0);
_CallFunction_016.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_030 = new armory.logicnode.IntegerNode(this);
_Integer_030.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Integer_030.addOutputs([_CallFunction_016]);
_CallFunction_016.addInput(_Integer_030, 0);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_016.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_006 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_013 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_013.property0 = "Enter";
_OnVolumeTrigger_013.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_013.addInput(new armory.logicnode.ObjectNode(this, "Spawn7"), 0);
_OnVolumeTrigger_013.addOutputs([_CallFunction_006]);
_CallFunction_006.addInput(_OnVolumeTrigger_013, 0);
_CallFunction_006.addInput(_SelfTrait, 0);
_CallFunction_006.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_026 = new armory.logicnode.IntegerNode(this);
_Integer_026.addInput(new armory.logicnode.IntegerNode(this, 7), 0);
_Integer_026.addOutputs([_CallFunction_006]);
_CallFunction_006.addInput(_Integer_026, 0);
_CallFunction_006.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_006.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_003 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_010 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_010.property0 = "Enter";
_OnVolumeTrigger_010.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_010.addInput(new armory.logicnode.ObjectNode(this, "Spawn4"), 0);
_OnVolumeTrigger_010.addOutputs([_CallFunction_003]);
_CallFunction_003.addInput(_OnVolumeTrigger_010, 0);
_CallFunction_003.addInput(_SelfTrait, 0);
_CallFunction_003.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_023 = new armory.logicnode.IntegerNode(this);
_Integer_023.addInput(new armory.logicnode.IntegerNode(this, 4), 0);
_Integer_023.addOutputs([_CallFunction_003]);
_CallFunction_003.addInput(_Integer_023, 0);
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_003.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_007 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_007.property0 = "Enter";
_OnVolumeTrigger_007.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_007.addInput(new armory.logicnode.ObjectNode(this, "Spawn1"), 0);
_OnVolumeTrigger_007.addOutputs([_CallFunction]);
_CallFunction.addInput(_OnVolumeTrigger_007, 0);
_CallFunction.addInput(_SelfTrait, 0);
_CallFunction.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_022 = new armory.logicnode.IntegerNode(this);
_Integer_022.addInput(new armory.logicnode.IntegerNode(this, 1), 0);
_Integer_022.addOutputs([_CallFunction]);
_CallFunction.addInput(_Integer_022, 0);
_CallFunction.addInput(new armory.logicnode.NullNode(this), 0);
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_005 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_012 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_012.property0 = "Enter";
_OnVolumeTrigger_012.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_012.addInput(new armory.logicnode.ObjectNode(this, "Spawn6"), 0);
_OnVolumeTrigger_012.addOutputs([_CallFunction_005]);
_CallFunction_005.addInput(_OnVolumeTrigger_012, 0);
_CallFunction_005.addInput(_SelfTrait, 0);
_CallFunction_005.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_025 = new armory.logicnode.IntegerNode(this);
_Integer_025.addInput(new armory.logicnode.IntegerNode(this, 6), 0);
_Integer_025.addOutputs([_CallFunction_005]);
_CallFunction_005.addInput(_Integer_025, 0);
_CallFunction_005.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_005.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_002 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_009 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_009.property0 = "Enter";
_OnVolumeTrigger_009.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_009.addInput(new armory.logicnode.ObjectNode(this, "Spawn3"), 0);
_OnVolumeTrigger_009.addOutputs([_CallFunction_002]);
_CallFunction_002.addInput(_OnVolumeTrigger_009, 0);
_CallFunction_002.addInput(_SelfTrait, 0);
_CallFunction_002.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_021 = new armory.logicnode.IntegerNode(this);
_Integer_021.addInput(new armory.logicnode.IntegerNode(this, 3), 0);
_Integer_021.addOutputs([_CallFunction_002]);
_CallFunction_002.addInput(_Integer_021, 0);
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_001 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_008 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_008.property0 = "Enter";
_OnVolumeTrigger_008.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_008.addInput(new armory.logicnode.ObjectNode(this, "Spawn2"), 0);
_OnVolumeTrigger_008.addOutputs([_CallFunction_001]);
_CallFunction_001.addInput(_OnVolumeTrigger_008, 0);
_CallFunction_001.addInput(_SelfTrait, 0);
_CallFunction_001.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_012 = new armory.logicnode.IntegerNode(this);
_Integer_012.addInput(new armory.logicnode.IntegerNode(this, 2), 0);
_Integer_012.addOutputs([_CallFunction_001]);
_CallFunction_001.addInput(_Integer_012, 0);
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _CallFunction_004 = new armory.logicnode.CallFunctionNode(this);
var _OnVolumeTrigger_011 = new armory.logicnode.OnVolumeTriggerNode(this);
_OnVolumeTrigger_011.property0 = "Enter";
_OnVolumeTrigger_011.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnVolumeTrigger_011.addInput(new armory.logicnode.ObjectNode(this, "Spawn5"), 0);
_OnVolumeTrigger_011.addOutputs([_CallFunction_004]);
_CallFunction_004.addInput(_OnVolumeTrigger_011, 0);
_CallFunction_004.addInput(_SelfTrait, 0);
_CallFunction_004.addInput(new armory.logicnode.StringNode(this, "set_spawn_nb"), 0);
var _Integer_024 = new armory.logicnode.IntegerNode(this);
_Integer_024.addInput(new armory.logicnode.IntegerNode(this, 5), 0);
_Integer_024.addOutputs([_CallFunction_004]);
_CallFunction_004.addInput(_Integer_024, 0);
_CallFunction_004.addOutputs([new armory.logicnode.NullNode(this)]);
_CallFunction_004.addOutputs([new armory.logicnode.NullNode(this)]);
var _FunctionOutput = new armory.logicnode.FunctionOutputNode(this);
this.functionOutputNodes.set("_FunctionOutput", _FunctionOutput);
var _Loop = new armory.logicnode.LoopNode(this);
var _SetProperty_009 = new armory.logicnode.SetPropertyNode(this);
var _IsTrue_005 = new armory.logicnode.IsTrueNode(this);
var _Function = new armory.logicnode.FunctionNode(this);
this.functionNodes.set("_Function", _Function);
_Function.addOutputs([_IsTrue_005]);
var _Compare_015 = new armory.logicnode.CompareNode(this);
_Compare_015.property0 = "Less";
_Compare_015.property1 = 9.999999747378752e-05;
var _GetProperty_005 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty_005.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
_GetProperty_005.addOutputs([_Compare_015]);
_Compare_015.addInput(_GetProperty_005, 0);
_Compare_015.addInput(_Function, 1);
_Compare_015.addOutputs([_IsTrue_005]);
var _ConcatenateString = new armory.logicnode.ConcatenateStringNode(this);
var _String = new armory.logicnode.StringNode(this);
_String.addInput(new armory.logicnode.StringNode(this, "Spawn"), 0);
_String.addOutputs([_ConcatenateString]);
_ConcatenateString.addInput(_String, 0);
_ConcatenateString.addInput(_Function, 1);
var _GetObject = new armory.logicnode.GetObjectNode(this);
_GetObject.addInput(_ConcatenateString, 0);
var _GetChildren = new armory.logicnode.GetChildrenNode(this);
_GetChildren.addInput(_GetObject, 0);
var _ArrayGet = new armory.logicnode.ArrayGetNode(this);
_ArrayGet.addInput(_GetChildren, 0);
_ArrayGet.addInput(_Loop, 1);
var _SetVisible_010 = new armory.logicnode.SetVisibleNode(this);
_SetVisible_010.addInput(_Loop, 0);
_SetVisible_010.addInput(_ArrayGet, 0);
_SetVisible_010.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_SetVisible_010.addOutputs([new armory.logicnode.NullNode(this)]);
_ArrayGet.addOutputs([_SetVisible_010]);
var _ArrayLength = new armory.logicnode.ArrayLengthNode(this);
_ArrayLength.addInput(_GetChildren, 0);
_ArrayLength.addOutputs([_Loop]);
_GetChildren.addOutputs([_ArrayGet, _ArrayLength]);
_GetObject.addOutputs([_GetChildren]);
_ConcatenateString.addOutputs([_GetObject]);
_Function.addOutputs([_SetProperty_009, _Compare_015, _ConcatenateString]);
_Function.addOutputs([new armory.logicnode.NullNode(this)]);
_IsTrue_005.addInput(_Function, 0);
_IsTrue_005.addInput(_Compare_015, 0);
_IsTrue_005.addOutputs([_SetProperty_009]);
_SetProperty_009.addInput(_IsTrue_005, 0);
_SetProperty_009.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_009.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
_SetProperty_009.addInput(_Function, 1);
_SetProperty_009.addOutputs([_Loop]);
_Loop.addInput(_SetProperty_009, 0);
_Loop.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Loop.addInput(_ArrayLength, 0);
_Loop.addOutputs([_SetVisible_010]);
_Loop.addOutputs([_ArrayGet]);
_Loop.addOutputs([_FunctionOutput]);
_FunctionOutput.addInput(_Loop, 2);
_FunctionOutput.addInput(new armory.logicnode.NullNode(this), 0);
var _SetProperty = new armory.logicnode.SetPropertyNode(this);
var _OnInit = new armory.logicnode.OnInitNode(this);
_OnInit.addOutputs([_SetProperty]);
_SetProperty.addInput(_OnInit, 0);
_SetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
var _Integer = new armory.logicnode.IntegerNode(this);
_Integer.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Integer.addOutputs([_SetProperty]);
_SetProperty.addInput(_Integer, 0);
_SetProperty.addOutputs([new armory.logicnode.NullNode(this)]);
var _SendEvent_001 = new armory.logicnode.SendEventNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
var _IsTrue = new armory.logicnode.IsTrueNode(this);
var _OnUpdate = new armory.logicnode.OnUpdateNode(this);
_OnUpdate.property0 = "Update";
_OnUpdate.addOutputs([_IsTrue]);
_IsTrue.addInput(_OnUpdate, 0);
var _Compare = new armory.logicnode.CompareNode(this);
_Compare.property0 = "Less Equal";
_Compare.property1 = 9.999999747378752e-05;
var _SeparateXYZ = new armory.logicnode.SeparateVectorNode(this);
var _GetLocation = new armory.logicnode.GetLocationNode(this);
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetLocation.addOutputs([_SeparateXYZ]);
_SeparateXYZ.addInput(_GetLocation, 0);
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SeparateXYZ.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SeparateXYZ.addOutputs([_Compare]);
_Compare.addInput(_SeparateXYZ, 2);
var _Integer_001 = new armory.logicnode.IntegerNode(this);
_Integer_001.addInput(new armory.logicnode.IntegerNode(this, -5), 0);
_Integer_001.addOutputs([_Compare]);
_Compare.addInput(_Integer_001, 0);
_Compare.addOutputs([_IsTrue]);
_IsTrue.addInput(_Compare, 0);
_IsTrue.addOutputs([_Merge]);
_Merge.addInput(_IsTrue, 0);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
var _Branch = new armory.logicnode.BranchNode(this);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
var _OnKeyboard = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard.property0 = "Started";
_OnKeyboard.property1 = "z";
_OnKeyboard.addOutputs([_IsTrue_001]);
_IsTrue_001.addInput(_OnKeyboard, 0);
var _KeyboardState = new armory.logicnode.KeyboardNode(this);
_KeyboardState.property0 = "Down";
_KeyboardState.property1 = "control";
var _IsTrue_002 = new armory.logicnode.IsTrueNode(this);
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_001.property0 = "Started";
_OnKeyboard_001.property1 = "a";
_OnKeyboard_001.addOutputs([_IsTrue_002]);
_IsTrue_002.addInput(_OnKeyboard_001, 0);
_IsTrue_002.addInput(_KeyboardState, 0);
var _Branch_001 = new armory.logicnode.BranchNode(this);
_Branch_001.addInput(_IsTrue_002, 0);
var _Compare_002 = new armory.logicnode.CompareNode(this);
_Compare_002.property0 = "Greater";
_Compare_002.property1 = 9.999999747378752e-05;
var _GetProperty = new armory.logicnode.GetPropertyNode(this);
_GetProperty.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_GetProperty.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Add";
_Math.property1 = "false";
_Math.addInput(_GetProperty, 0);
_Math.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
_Math.addOutputs([_SetProperty_001]);
var _Compare_001 = new armory.logicnode.CompareNode(this);
_Compare_001.property0 = "Less";
_Compare_001.property1 = 9.999999747378752e-05;
_Compare_001.addInput(_GetProperty, 0);
var _Integer_002 = new armory.logicnode.IntegerNode(this);
_Integer_002.addInput(new armory.logicnode.IntegerNode(this, 8), 0);
_Integer_002.addOutputs([_Compare_001]);
_Compare_001.addInput(_Integer_002, 0);
_Compare_001.addOutputs([_Branch]);
var _Math_001 = new armory.logicnode.MathNode(this);
_Math_001.property0 = "Subtract";
_Math_001.property1 = "false";
_Math_001.addInput(_GetProperty, 0);
_Math_001.addInput(new armory.logicnode.FloatNode(this, 1.0), 0);
var _SetProperty_002 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_002.addInput(_Branch_001, 0);
_SetProperty_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_002.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
_SetProperty_002.addInput(_Math_001, 0);
_SetProperty_002.addOutputs([_Merge]);
_Math_001.addOutputs([_SetProperty_002]);
_GetProperty.addOutputs([_Math, _Compare_001, _Compare_002, _Math_001]);
_Compare_002.addInput(_GetProperty, 0);
var _Integer_003 = new armory.logicnode.IntegerNode(this);
_Integer_003.addInput(new armory.logicnode.IntegerNode(this, 0), 0);
_Integer_003.addOutputs([_Compare_002]);
_Compare_002.addInput(_Integer_003, 0);
_Compare_002.addOutputs([_Branch_001]);
_Branch_001.addInput(_Compare_002, 0);
_Branch_001.addOutputs([_SetProperty_002]);
_Branch_001.addOutputs([new armory.logicnode.NullNode(this)]);
_IsTrue_002.addOutputs([_Branch_001]);
_KeyboardState.addOutputs([_IsTrue_001, _IsTrue_002]);
_IsTrue_001.addInput(_KeyboardState, 0);
_IsTrue_001.addOutputs([_Branch]);
_Branch.addInput(_IsTrue_001, 0);
_Branch.addInput(_Compare_001, 0);
_Branch.addOutputs([_SetProperty_001]);
_Branch.addOutputs([new armory.logicnode.NullNode(this)]);
_SetProperty_001.addInput(_Branch, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "spawn_nb"), 0);
_SetProperty_001.addInput(_Math, 0);
_SetProperty_001.addOutputs([_Merge]);
_Merge.addInput(_SetProperty_001, 0);
_Merge.addInput(_SetProperty_002, 0);
_Merge.addOutputs([_SendEvent_001]);
_SendEvent_001.addInput(_Merge, 0);
_SendEvent_001.addInput(new armory.logicnode.StringNode(this, "spawn"), 0);
_SendEvent_001.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SendEvent_001.addOutputs([new armory.logicnode.NullNode(this)]);
}
public function go_spawn(arg0:Dynamic, arg1:Dynamic) {
var functionNode = this.functionNodes["_Function_001"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput_001"].result;
}
public function set_spawn_nb(arg0:Dynamic, arg1:Dynamic) {
var functionNode = this.functionNodes["_Function"];
functionNode.args = [];
functionNode.args.push(arg0);
functionNode.args.push(arg1);
functionNode.run(0);
return this.functionOutputNodes["_FunctionOutput"].result;
}
}

View File

@ -0,0 +1,214 @@
package arm.node;
@:keep class TrackCamera extends armory.logicnode.LogicTree {
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
public function new() {
super();
name = "TrackCamera";
this.functionNodes = new Map();
this.functionOutputNodes = new Map();
notifyOnAdd(add);
}
override public function add() {
var _TranslateObject_002 = new armory.logicnode.TranslateObjectNode(this);
var _IsTrue_001 = new armory.logicnode.IsTrueNode(this);
var _OnKeyboard_001 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_001.property0 = "Started";
_OnKeyboard_001.property1 = "e";
_OnKeyboard_001.addOutputs([_IsTrue_001]);
_IsTrue_001.addInput(_OnKeyboard_001, 0);
_IsTrue_001.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_IsTrue_001.addOutputs([_TranslateObject_002]);
_TranslateObject_002.addInput(_IsTrue_001, 0);
_TranslateObject_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
var _Vector_003 = new armory.logicnode.VectorNode(this);
var _Float_002 = new armory.logicnode.FloatNode(this);
_Float_002.addInput(new armory.logicnode.FloatNode(this, 40.0), 0);
var _Math_002 = new armory.logicnode.MathNode(this);
_Math_002.property0 = "Multiply";
_Math_002.property1 = "false";
_Math_002.addInput(_Float_002, 0);
_Math_002.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
var _Vector_002 = new armory.logicnode.VectorNode(this);
_Vector_002.addInput(_Math_002, 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_002.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _TranslateObject_003 = new armory.logicnode.TranslateObjectNode(this);
var _IsTrue_002 = new armory.logicnode.IsTrueNode(this);
var _OnKeyboard_002 = new armory.logicnode.OnKeyboardNode(this);
_OnKeyboard_002.property0 = "Released";
_OnKeyboard_002.property1 = "e";
_OnKeyboard_002.addOutputs([_IsTrue_002]);
_IsTrue_002.addInput(_OnKeyboard_002, 0);
_IsTrue_002.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_IsTrue_002.addOutputs([_TranslateObject_003]);
_TranslateObject_003.addInput(_IsTrue_002, 0);
_TranslateObject_003.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_TranslateObject_003.addInput(_Vector_002, 0);
_TranslateObject_003.addOutputs([new armory.logicnode.NullNode(this)]);
_Vector_002.addOutputs([_TranslateObject_003]);
_Math_002.addOutputs([_Vector_002]);
_Float_002.addOutputs([_Math_002, _Vector_003]);
_Vector_003.addInput(_Float_002, 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_003.addOutputs([_TranslateObject_002]);
_TranslateObject_002.addInput(_Vector_003, 0);
_TranslateObject_002.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetProperty_001 = new armory.logicnode.SetPropertyNode(this);
var _OnInit = new armory.logicnode.OnInitNode(this);
_OnInit.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_OnInit, 0);
_SetProperty_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
_SetProperty_001.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
var _Boolean_001 = new armory.logicnode.BooleanNode(this);
_Boolean_001.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_001.addOutputs([_SetProperty_001]);
_SetProperty_001.addInput(_Boolean_001, 0);
_SetProperty_001.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetProperty_005 = new armory.logicnode.SetPropertyNode(this);
var _TranslateObject = new armory.logicnode.TranslateObjectNode(this);
var _IsTrue_003 = new armory.logicnode.IsTrueNode(this);
var _Gate = new armory.logicnode.GateNode(this);
_Gate.property0 = "Or";
_Gate.property1 = 9.999999747378752e-05;
var _IsFalse_003 = new armory.logicnode.IsFalseNode(this);
var _OnUpdate_003 = new armory.logicnode.OnUpdateNode(this);
_OnUpdate_003.property0 = "Update";
_OnUpdate_003.addOutputs([_IsFalse_003]);
_IsFalse_003.addInput(_OnUpdate_003, 0);
var _GetProperty_004 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_004.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
_GetProperty_004.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
_GetProperty_004.addOutputs([_IsFalse_003]);
_IsFalse_003.addInput(_GetProperty_004, 0);
_IsFalse_003.addOutputs([_Gate]);
_Gate.addInput(_IsFalse_003, 0);
var _Compare_002 = new armory.logicnode.CompareNode(this);
_Compare_002.property0 = "Greater Equal";
_Compare_002.property1 = 9.999999747378752e-05;
var _SeparateXYZ_001 = new armory.logicnode.SeparateVectorNode(this);
var _GetVelocity_002 = new armory.logicnode.GetVelocityNode(this);
_GetVelocity_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_GetVelocity_002.addOutputs([_SeparateXYZ_001]);
_GetVelocity_002.addOutputs([new armory.logicnode.VectorNode(this, 0.0, 0.0, 0.0)]);
_SeparateXYZ_001.addInput(_GetVelocity_002, 0);
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
_SeparateXYZ_001.addOutputs([new armory.logicnode.FloatNode(this, 0.0)]);
var _Compare_003 = new armory.logicnode.CompareNode(this);
_Compare_003.property0 = "Less Equal";
_Compare_003.property1 = 9.999999747378752e-05;
_Compare_003.addInput(_SeparateXYZ_001, 2);
var _Math_001 = new armory.logicnode.MathNode(this);
_Math_001.property0 = "Multiply";
_Math_001.property1 = "false";
var _Float_001 = new armory.logicnode.FloatNode(this);
_Float_001.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
_Float_001.addOutputs([_Math_001, _Compare_002]);
_Math_001.addInput(_Float_001, 0);
_Math_001.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
_Math_001.addOutputs([_Compare_003]);
_Compare_003.addInput(_Math_001, 0);
_Compare_003.addOutputs([_Gate]);
_SeparateXYZ_001.addOutputs([_Compare_002, _Compare_003]);
_Compare_002.addInput(_SeparateXYZ_001, 2);
_Compare_002.addInput(_Float_001, 0);
_Compare_002.addOutputs([_Gate]);
_Gate.addInput(_Compare_002, 0);
_Gate.addInput(_Compare_003, 0);
_Gate.addOutputs([_IsTrue_003]);
_Gate.addOutputs([new armory.logicnode.NullNode(this)]);
_IsTrue_003.addInput(_Gate, 0);
_IsTrue_003.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_IsTrue_003.addOutputs([_TranslateObject]);
_TranslateObject.addInput(_IsTrue_003, 0);
_TranslateObject.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
var _Vector = new armory.logicnode.VectorNode(this);
var _Float = new armory.logicnode.FloatNode(this);
_Float.addInput(new armory.logicnode.FloatNode(this, 5.0), 0);
var _Math = new armory.logicnode.MathNode(this);
_Math.property0 = "Multiply";
_Math.property1 = "false";
_Math.addInput(_Float, 0);
_Math.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
var _Vector_001 = new armory.logicnode.VectorNode(this);
_Vector_001.addInput(_Math, 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector_001.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
var _TranslateObject_001 = new armory.logicnode.TranslateObjectNode(this);
var _IsTrue_004 = new armory.logicnode.IsTrueNode(this);
var _Merge = new armory.logicnode.MergeNode(this);
var _OnContact_004 = new armory.logicnode.OnContactNode(this);
_OnContact_004.property0 = "Begin";
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_004.addInput(new armory.logicnode.ObjectNode(this, "Terrain"), 0);
_OnContact_004.addOutputs([_Merge]);
_Merge.addInput(_OnContact_004, 0);
var _OnContact_003 = new armory.logicnode.OnContactNode(this);
_OnContact_003.property0 = "Begin";
_OnContact_003.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_003.addInput(new armory.logicnode.ObjectNode(this, "bridge_01"), 0);
_OnContact_003.addOutputs([_Merge]);
_Merge.addInput(_OnContact_003, 0);
var _OnContact_002 = new armory.logicnode.OnContactNode(this);
_OnContact_002.property0 = "Begin";
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_OnContact_002.addInput(new armory.logicnode.ObjectNode(this, "bridge_02"), 0);
_OnContact_002.addOutputs([_Merge]);
_Merge.addInput(_OnContact_002, 0);
_Merge.addOutputs([_IsTrue_004]);
_IsTrue_004.addInput(_Merge, 0);
var _GetProperty_003 = new armory.logicnode.GetPropertyNode(this);
_GetProperty_003.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
_GetProperty_003.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
_GetProperty_003.addOutputs([_IsTrue_004]);
_IsTrue_004.addInput(_GetProperty_003, 0);
_IsTrue_004.addOutputs([_TranslateObject_001]);
_TranslateObject_001.addInput(_IsTrue_004, 0);
_TranslateObject_001.addInput(new armory.logicnode.ObjectNode(this, "Camera.001"), 0);
_TranslateObject_001.addInput(_Vector_001, 0);
var _SetProperty_006 = new armory.logicnode.SetPropertyNode(this);
_SetProperty_006.addInput(_TranslateObject_001, 0);
_SetProperty_006.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_006.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
var _Boolean_005 = new armory.logicnode.BooleanNode(this);
_Boolean_005.addInput(new armory.logicnode.BooleanNode(this, false), 0);
_Boolean_005.addOutputs([_SetProperty_006]);
_SetProperty_006.addInput(_Boolean_005, 0);
_SetProperty_006.addOutputs([new armory.logicnode.NullNode(this)]);
_TranslateObject_001.addOutputs([_SetProperty_006]);
_Vector_001.addOutputs([_TranslateObject_001]);
_Math.addOutputs([_Vector_001]);
_Float.addOutputs([_Math, _Vector]);
_Vector.addInput(_Float, 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
_Vector.addOutputs([_TranslateObject]);
_TranslateObject.addInput(_Vector, 0);
_TranslateObject.addOutputs([_SetProperty_005]);
_SetProperty_005.addInput(_TranslateObject, 0);
_SetProperty_005.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
_SetProperty_005.addInput(new armory.logicnode.StringNode(this, "saut_on"), 0);
var _Boolean_004 = new armory.logicnode.BooleanNode(this);
_Boolean_004.addInput(new armory.logicnode.BooleanNode(this, true), 0);
_Boolean_004.addOutputs([_SetProperty_005]);
_SetProperty_005.addInput(_Boolean_004, 0);
_SetProperty_005.addOutputs([new armory.logicnode.NullNode(this)]);
var _SetLocation = new armory.logicnode.SetLocationNode(this);
var _OnUpdate = new armory.logicnode.OnUpdateNode(this);
_OnUpdate.property0 = "Update";
_OnUpdate.addOutputs([_SetLocation]);
_SetLocation.addInput(_OnUpdate, 0);
_SetLocation.addInput(new armory.logicnode.ObjectNode(this, "TrackCamera"), 0);
var _GetLocation = new armory.logicnode.GetLocationNode(this);
_GetLocation.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
_GetLocation.addOutputs([_SetLocation]);
_SetLocation.addInput(_GetLocation, 0);
_SetLocation.addOutputs([new armory.logicnode.NullNode(this)]);
}
}

Binary file not shown.

BIN
ecureuil-129.blend Normal file

Binary file not shown.