Knowledge base
Search Blueprint patterns
Searching…
Knowledge base
The structure WoalzCraft generates. Paste into the plugin to instantiate as a real Blueprint.
{
"nodes": [
{
"id": "n_begin",
"position": {
"x": 0,
"y": 0
},
"node_type": "EventBeginPlay"
},
{
"id": "n_setstart",
"position": {
"x": 250,
"y": 0
},
"node_type": "SetVariable",
"variable_name": "StartLocation"
},
{
"id": "n_getloc",
"position": {
"x": 50,
"y": 100
},
"node_type": "GetActorLocation"
},
{
"id": "n_activate",
"position": {
"x": 0,
"y": 300
},
"node_type": "CustomEvent",
"event_name": "Activate"
},
{
"id": "n_branch",
"position": {
"x": 200,
"y": 300
},
"node_type": "Branch"
},
{
"id": "n_gettop",
"position": {
"x": 50,
"y": 400
},
"node_type": "GetVariable",
"variable_name": "bIsAtTop"
},
{
"id": "n_timeline",
"tracks": [
{
"keys": [
{
"time": 0,
"value": 0
},
{
"time": 3,
"value": 1
}
],
"name": "Alpha",
"type": "float"
}
],
"position": {
"x": 400,
"y": 250
},
"node_type": "Timeline",
"timeline_name": "ElevatorMove"
},
{
"id": "n_vlerp",
"position": {
"x": 650,
"y": 350
},
"node_type": "CallFunction",
"function_name": "VLerp"
},
{
"id": "n_setloc",
"position": {
"x": 850,
"y": 250
},
"node_type": "SetActorLocation"
},
{
"id": "n_toggle",
"position": {
"x": 850,
"y": 450
},
"node_type": "SetVariable",
"variable_name": "bIsAtTop"
}
],
"variables": [
{
"name": "StartLocation",
"type": "Vector"
},
{
"name": "EndLocation",
"type": "Vector"
},
{
"name": "TravelTime",
"type": "float",
"default_value": "3.0"
},
{
"name": "bIsAtTop",
"type": "bool",
"default_value": "false"
}
],
"connections": [
{
"to_pin": "execute",
"to_node": "n_setstart",
"from_pin": "then",
"from_node": "n_begin"
},
{
"to_pin": "StartLocation",
"to_node": "n_setstart",
"from_pin": "ReturnValue",
"from_node": "n_getloc"
},
{
"to_pin": "execute",
"to_node": "n_branch",
"from_pin": "then",
"from_node": "n_activate"
},
{
"to_pin": "Condition",
"to_node": "n_branch",
"from_pin": "bIsAtTop",
"from_node": "n_gettop"
},
{
"to_pin": "Play from Start",
"to_node": "n_timeline",
"from_pin": "else",
"from_node": "n_branch"
},
{
"to_pin": "Reverse from End",
"to_node": "n_timeline",
"from_pin": "then",
"from_node": "n_branch"
},
{
"to_pin": "execute",
"to_node": "n_setloc",
"from_pin": "Update",
"from_node": "n_timeline"
},
{
"to_pin": "Alpha",
"to_node": "n_vlerp",
"from_pin": "Alpha",
"from_node": "n_timeline"
},
{
"to_pin": "NewLocation",
"to_node": "n_setloc",
"from_pin": "ReturnValue",
"from_node": "n_vlerp"
},
{
"to_pin": "execute",
"to_node": "n_toggle",
"from_pin": "Finished",
"from_node": "n_timeline"
}
],
"parent_class": "Actor",
"blueprint_name": "BP_Elevator"
}