mirror of
https://forge.apps.education.fr/phroy/frankie-on-platform.git
synced 2024-01-27 11:32:04 +01:00
parent
96040ec74c
commit
86354025c9
429
Sources/arm/node/Deplacement.hx
Normal file
429
Sources/arm/node/Deplacement.hx
Normal file
@ -0,0 +1,429 @@
|
||||
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_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, "Platforme"), 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, "Platforme"), 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)]);
|
||||
var _SetActionSpeed = new armory.logicnode.SetActionSpeedNode(this);
|
||||
_SetActionSpeed.addInput(new armory.logicnode.NullNode(this), 0);
|
||||
_SetActionSpeed.addInput(new armory.logicnode.ObjectNode(this, "Joueur"), 0);
|
||||
_SetActionSpeed.addInput(new armory.logicnode.FloatNode(this, 0.5), 0);
|
||||
_SetActionSpeed.addOutputs([new armory.logicnode.NullNode(this)]);
|
||||
var _RotateObject_002 = new armory.logicnode.RotateObjectNode(this);
|
||||
var _Branch_002 = new armory.logicnode.BranchNode(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 _Branch_003 = new armory.logicnode.BranchNode(this);
|
||||
_Branch_003.addInput(_IsFalse_001, 0);
|
||||
var _GetProperty_005 = new armory.logicnode.GetPropertyNode(this);
|
||||
_GetProperty_005.addInput(new armory.logicnode.ObjectNode(this, "Camera_fps"), 0);
|
||||
_GetProperty_005.addInput(new armory.logicnode.StringNode(this, "camera_fps"), 0);
|
||||
_GetProperty_005.addOutputs([_Branch_002, _Branch_003]);
|
||||
_Branch_003.addInput(_GetProperty_005, 0);
|
||||
var _Merge_003 = new armory.logicnode.MergeNode(this);
|
||||
_Merge_003.addInput(_Branch_003, 0);
|
||||
_Merge_003.addInput(_Branch_003, 1);
|
||||
var _PlayAction_003 = new armory.logicnode.PlayActionNode(this);
|
||||
_PlayAction_003.addInput(_Merge_003, 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)]);
|
||||
_Merge_003.addOutputs([_PlayAction_003]);
|
||||
var _RotateObject_003 = new armory.logicnode.RotateObjectNode(this);
|
||||
_RotateObject_003.addInput(_Branch_003, 0);
|
||||
_RotateObject_003.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
||||
var _Vector_004 = new armory.logicnode.VectorNode(this);
|
||||
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
||||
_Vector_004.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
||||
var _Math_001 = new armory.logicnode.MathNode(this);
|
||||
_Math_001.property0 = "Multiply";
|
||||
_Math_001.property1 = "false";
|
||||
var _Float_003 = new armory.logicnode.FloatNode(this);
|
||||
_Float_003.addInput(new armory.logicnode.FloatNode(this, 0.019999999552965164), 0);
|
||||
var _Vector_003 = new armory.logicnode.VectorNode(this);
|
||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
||||
_Vector_003.addInput(new armory.logicnode.FloatNode(this, 0.0), 0);
|
||||
_Vector_003.addInput(_Float_003, 0);
|
||||
_Vector_003.addOutputs([_RotateObject_002]);
|
||||
_Float_003.addOutputs([_Vector_003, _Math_001]);
|
||||
_Math_001.addInput(_Float_003, 0);
|
||||
_Math_001.addInput(new armory.logicnode.FloatNode(this, -1.0), 0);
|
||||
_Math_001.addOutputs([_Vector_004]);
|
||||
_Vector_004.addInput(_Math_001, 0);
|
||||
_Vector_004.addOutputs([_RotateObject_003]);
|
||||
_RotateObject_003.addInput(_Vector_004, 0);
|
||||
_RotateObject_003.addOutputs([new armory.logicnode.NullNode(this)]);
|
||||
_Branch_003.addOutputs([_Merge_003, _RotateObject_003]);
|
||||
var _RotateObject_001 = new armory.logicnode.RotateObjectNode(this);
|
||||
_RotateObject_001.addInput(_Branch_003, 1);
|
||||
_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(_Branch_002, 1);
|
||||
_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)]);
|
||||
_Branch_003.addOutputs([_Merge_003, _RotateObject_001]);
|
||||
_IsFalse_001.addOutputs([_Branch_003]);
|
||||
_GetProperty_002.addOutputs([_IsFalse, _IsFalse_001]);
|
||||
_IsFalse.addInput(_GetProperty_002, 0);
|
||||
_IsFalse.addOutputs([_Branch_002]);
|
||||
_Branch_002.addInput(_IsFalse, 0);
|
||||
_Branch_002.addInput(_GetProperty_005, 0);
|
||||
var _Merge_002 = new armory.logicnode.MergeNode(this);
|
||||
_Merge_002.addInput(_Branch_002, 0);
|
||||
_Merge_002.addInput(_Branch_002, 1);
|
||||
var _PlayAction_004 = new armory.logicnode.PlayActionNode(this);
|
||||
_PlayAction_004.addInput(_Merge_002, 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)]);
|
||||
_Merge_002.addOutputs([_PlayAction_004]);
|
||||
_Branch_002.addOutputs([_Merge_002, _RotateObject_002]);
|
||||
_Branch_002.addOutputs([_RotateObject, _Merge_002]);
|
||||
_RotateObject_002.addInput(_Branch_002, 0);
|
||||
_RotateObject_002.addInput(new armory.logicnode.ObjectNode(this, ""), 0);
|
||||
_RotateObject_002.addInput(_Vector_003, 0);
|
||||
_RotateObject_002.addOutputs([new armory.logicnode.NullNode(this)]);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user