Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save tylerdrewwork/0cd732e3d6e4ac3c5ca5921f04cec4cb to your computer and use it in GitHub Desktop.

Select an option

Save tylerdrewwork/0cd732e3d6e4ac3c5ca5921f04cec4cb to your computer and use it in GitHub Desktop.
{
"__type": "UpdateActionComponent",
"Action": {
"Version": 5,
"UserData": {
"Title": "Updateaaa",
"id": "ef24df7c-a135-423b-bd97-29f278cbd37b",
"ReferencedComponentTypes": [
"Sandbox.Game/Sandbox.CharacterController"
]
},
"Variables": [],
"Nodes": [
{
"Id": 0,
"Type": "input",
"UserData": {
"Position": "-240,-288"
}
},
{
"Id": 6,
"Type": "all",
"UserData": {
"Position": "-64,-288"
}
},
{
"Id": 7,
"Type": "call",
"Properties": {
"_type": "Sandbox.Game/Sandbox.CharacterController",
"_isStatic": false,
"_name": "Move"
},
"UserData": {
"Position": "480,48"
}
},
{
"Id": 8,
"Type": "scene.get",
"Properties": {
"T": "Sandbox.Game/Sandbox.CharacterController"
},
"UserData": {
"Position": "32,-96"
}
},
{
"Id": 17,
"Type": "input.down",
"UserData": {
"Position": "-128,-416"
}
},
{
"Id": 18,
"Type": "call",
"Properties": {
"_type": "Sandbox.Game/Sandbox.CharacterController",
"_isStatic": false,
"_name": "Accelerate"
},
"UserData": {
"Position": "448,-384"
}
},
{
"Id": 19,
"Type": "if",
"UserData": {
"Position": "160,-416"
}
},
{
"Id": 20,
"Type": "op.andalso",
"UserData": {
"Position": "64,-192"
}
}
],
"Links": [
{
"SrcId": 0,
"SrcName": "_signal",
"DstId": 6,
"DstName": "_signal"
},
{
"SrcId": 6,
"SrcName": "_signal",
"DstId": 7,
"DstName": "_signal"
},
{
"SrcId": 8,
"SrcName": "_result",
"DstId": 7,
"DstName": "_target"
},
{
"SrcId": 0,
"SrcName": "_target",
"DstId": 8,
"DstName": "_this"
},
{
"Value": "Forward",
"DstId": 17,
"DstName": "action"
},
{
"SrcId": 8,
"SrcName": "_result",
"DstId": 18,
"DstName": "_target"
},
{
"Value": "200,0,0",
"DstId": 18,
"DstName": "vector"
},
{
"SrcId": 6,
"SrcName": "_signal",
"DstId": 19,
"DstName": "_signal"
},
{
"SrcId": 17,
"SrcName": "_result",
"DstId": 19,
"DstName": "condition"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment