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_fire",
"position": {
"x": 0,
"y": 0
},
"node_type": "CustomEvent",
"event_name": "Fire"
},
{
"id": "n_branch",
"position": {
"x": 200,
"y": 0
},
"node_type": "Branch"
},
{
"id": "n_canfire",
"position": {
"x": 50,
"y": 100
},
"node_type": "GetVariable",
"variable_name": "bCanFire"
},
{
"id": "n_setfalse",
"position": {
"x": 400,
"y": 0
},
"node_type": "SetVariable",
"input_values": {
"bCanFire": "false"
},
"variable_name": "bCanFire"
},
{
"id": "n_getcam",
"position": {
"x": 200,
"y": 200
},
"node_type": "CallFunction",
"function_name": "GetPlayerCameraManager"
},
{
"id": "n_camloc",
"position": {
"x": 400,
"y": 200
},
"node_type": "GetActorLocation"
},
{
"id": "n_camfwd",
"position": {
"x": 400,
"y": 300
},
"node_type": "GetActorForwardVector"
},
{
"id": "n_range",
"position": {
"x": 400,
"y": 400
},
"node_type": "GetVariable",
"variable_name": "Range"
},
{
"id": "n_multiply",
"position": {
"x": 600,
"y": 300
},
"node_type": "Multiply_VectorFloat"
},
{
"id": "n_add",
"position": {
"x": 800,
"y": 250
},
"node_type": "Add_VectorVector"
},
{
"id": "n_trace",
"position": {
"x": 600,
"y": 0
},
"node_type": "LineTraceSingle"
},
{
"id": "n_hit_branch",
"position": {
"x": 850,
"y": 0
},
"node_type": "Branch"
},
{
"id": "n_breakhit",
"position": {
"x": 850,
"y": 150
},
"node_type": "BreakHitResult"
},
{
"id": "n_damage",
"position": {
"x": 1100,
"y": 0
},
"node_type": "CallFunction",
"function_name": "ApplyDamage"
},
{
"id": "n_delay",
"position": {
"x": 1300,
"y": 0
},
"node_type": "Delay"
},
{
"id": "n_settrue",
"position": {
"x": 1500,
"y": 0
},
"node_type": "SetVariable",
"input_values": {
"bCanFire": "true"
},
"variable_name": "bCanFire"
}
],
"variables": [
{
"name": "Damage",
"type": "float",
"default_value": "20.0"
},
{
"name": "Range",
"type": "float",
"default_value": "10000.0"
},
{
"name": "FireRate",
"type": "float",
"default_value": "0.15"
},
{
"name": "bCanFire",
"type": "bool",
"default_value": "true"
}
],
"connections": [
{
"to_pin": "execute",
"to_node": "n_branch",
"from_pin": "then",
"from_node": "n_fire"
},
{
"to_pin": "Condition",
"to_node": "n_branch",
"from_pin": "bCanFire",
"from_node": "n_canfire"
},
{
"to_pin": "execute",
"to_node": "n_setfalse",
"from_pin": "then",
"from_node": "n_branch"
},
{
"to_pin": "execute",
"to_node": "n_trace",
"from_pin": "then",
"from_node": "n_setfalse"
},
{
"to_pin": "Start",
"to_node": "n_trace",
"from_pin": "ReturnValue",
"from_node": "n_camloc"
},
{
"to_pin": "A",
"to_node": "n_multiply",
"from_pin": "ReturnValue",
"from_node": "n_camfwd"
},
{
"to_pin": "B",
"to_node": "n_multiply",
"from_pin": "Range",
"from_node": "n_range"
},
{
"to_pin": "A",
"to_node": "n_add",
"from_pin": "ReturnValue",
"from_node": "n_camloc"
},
{
"to_pin": "B",
"to_node": "n_add",
"from_pin": "ReturnValue",
"from_node": "n_multiply"
},
{
"to_pin": "End",
"to_node": "n_trace",
"from_pin": "ReturnValue",
"from_node": "n_add"
},
{
"to_pin": "execute",
"to_node": "n_hit_branch",
"from_pin": "then",
"from_node": "n_trace"
},
{
"to_pin": "Condition",
"to_node": "n_hit_branch",
"from_pin": "ReturnValue",
"from_node": "n_trace"
},
{
"to_pin": "HitResult",
"to_node": "n_breakhit",
"from_pin": "OutHit",
"from_node": "n_trace"
},
{
"to_pin": "execute",
"to_node": "n_damage",
"from_pin": "then",
"from_node": "n_hit_branch"
},
{
"to_pin": "DamagedActor",
"to_node": "n_damage",
"from_pin": "HitActor",
"from_node": "n_breakhit"
},
{
"to_pin": "execute",
"to_node": "n_delay",
"from_pin": "then",
"from_node": "n_damage"
},
{
"to_pin": "execute",
"to_node": "n_delay",
"from_pin": "else",
"from_node": "n_hit_branch"
},
{
"to_pin": "execute",
"to_node": "n_settrue",
"from_pin": "then",
"from_node": "n_delay"
}
],
"parent_class": "Actor",
"blueprint_name": "BP_FPSWeapon"
}