Skip to content

Instantly share code, notes, and snippets.

@darthdeus
Created August 31, 2020 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darthdeus/03d8273ce09740c6bffc8f841ee4aebf to your computer and use it in GitHub Desktop.
Save darthdeus/03d8273ce09740c6bffc8f841ee4aebf to your computer and use it in GitHub Desktop.
{
"type": "NodeCanvas.BehaviourTrees.BehaviourTree",
"nodes": [
{
"_position": {
"x": 717.0,
"y": 139.0
},
"$type": "NodeCanvas.BehaviourTrees.Sequencer",
"$id": "0"
},
{
"_action": {
"actions": [
{
"log": {
"_value": "Hello World"
},
"secondsToRun": 2.0,
"finishStatus": 0,
"$type": "NodeCanvas.Tasks.Actions.DebugLogText"
},
{
"log": {
"_value": "Hello World"
},
"$type": "NodeCanvas.Tasks.Actions.DebugLogText"
},
{
"Waypoint": {
"_name": ""
},
"MovementSpeed": {
"_value": 1.0
},
"RotationSpeed": {
"_value": 1.0
},
"$type": "NodeCanvasAddons.AStarPathfinding.Examples.MoveTowardsWaypointAction"
}
],
"$type": "NodeCanvas.Framework.ActionList"
},
"_position": {
"x": 490.0,
"y": 267.0
},
"$type": "NodeCanvas.BehaviourTrees.ActionNode",
"$id": "1"
},
{
"_action": {
"log": {
"_value": "Hello World 2"
},
"$type": "NodeCanvas.Tasks.Actions.DebugLogText"
},
"_position": {
"x": 988.0,
"y": 324.0
},
"$type": "NodeCanvas.BehaviourTrees.ActionNode",
"$id": "2"
},
{
"_position": {
"x": 714.0,
"y": -6.0
},
"$type": "NodeCanvas.BehaviourTrees.ConditionNode"
},
{
"_action": {
"StrafeChange": {
},
"TurnChange": {
},
"ForwardChange": {
},
"MovementSpeed": {
"_value": 1.0
},
"RotationSpeed": {
"_value": 1.0
},
"$type": "NodeCanvasAddons.AStarPathfinding.Examples.TimeBasedMovementAction"
},
"_position": {
"x": 472.0,
"y": 45.0
},
"$type": "NodeCanvas.BehaviourTrees.ActionNode"
}
],
"connections": [
{
"_sourceNode": {
"$ref": "0"
},
"_targetNode": {
"$ref": "1"
},
"$type": "NodeCanvas.BehaviourTrees.BTConnection"
},
{
"_sourceNode": {
"$ref": "0"
},
"_targetNode": {
"$ref": "2"
},
"$type": "NodeCanvas.BehaviourTrees.BTConnection"
}
],
"canvasGroups": [],
"localBlackboard": {
"_variables": {
}
},
"derivedData": {
"repeat": true,
"$type": "NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment