mirror of
https://forge.apps.education.fr/phroy/frankie-on-platform.git
synced 2024-01-27 11:32:04 +01:00
83 lines
4.3 KiB
Haxe
83 lines
4.3 KiB
Haxe
|
package arm.node;
|
||
|
|
||
|
@:keep class Springbox_jump extends armory.logicnode.LogicTree {
|
||
|
|
||
|
var functionNodes:Map<String, armory.logicnode.FunctionNode>;
|
||
|
|
||
|
var functionOutputNodes:Map<String, armory.logicnode.FunctionOutputNode>;
|
||
|
|
||
|
public function new() {
|
||
|
super();
|
||
|
name = "Springbox_jump";
|
||
|
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, 1000.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, 1000.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)]);
|
||
|
}
|
||
|
}
|