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_overlap",
"position": {
"x": 0,
"y": 0
},
"node_type": "OnComponentBeginOverlap",
"component_name": "CollisionSphere"
},
{
"id": "n_cast",
"position": {
"x": 250,
"y": 0
},
"node_type": "CastTo",
"cast_class": "Character"
},
{
"id": "n_sound",
"position": {
"x": 500,
"y": 0
},
"node_type": "PlaySoundAtLocation"
},
{
"id": "n_getloc",
"position": {
"x": 300,
"y": 150
},
"node_type": "GetActorLocation"
},
{
"id": "n_hide",
"position": {
"x": 700,
"y": 0
},
"node_type": "CallFunction",
"input_values": {
"bNewHidden": "true"
},
"function_name": "SetActorHiddenInGame"
},
{
"id": "n_nocollision",
"position": {
"x": 900,
"y": 0
},
"node_type": "CallFunction",
"input_values": {
"bNewActorEnableCollision": "false"
},
"function_name": "SetActorEnableCollision"
},
{
"id": "n_delay",
"position": {
"x": 1100,
"y": 0
},
"node_type": "Delay"
},
{
"id": "n_show",
"position": {
"x": 1300,
"y": 0
},
"node_type": "CallFunction",
"input_values": {
"bNewHidden": "false"
},
"function_name": "SetActorHiddenInGame"
},
{
"id": "n_collision",
"position": {
"x": 1500,
"y": 0
},
"node_type": "CallFunction",
"input_values": {
"bNewActorEnableCollision": "true"
},
"function_name": "SetActorEnableCollision"
}
],
"variables": [
{
"name": "HealAmount",
"type": "float",
"default_value": "50.0"
},
{
"name": "RespawnTime",
"type": "float",
"default_value": "10.0"
}
],
"components": [
{
"name": "CollisionSphere",
"type": "SphereComponent",
"is_root": true,
"properties": {
"SphereRadius": 60,
"CollisionProfileName": "OverlapOnlyPawn"
}
},
{
"name": "PickupMesh",
"type": "StaticMeshComponent",
"parent": "CollisionSphere"
},
{
"name": "GlowParticle",
"type": "NiagaraComponent",
"parent": "CollisionSphere"
}
],
"connections": [
{
"to_pin": "execute",
"to_node": "n_cast",
"from_pin": "then",
"from_node": "n_overlap"
},
{
"to_pin": "Object",
"to_node": "n_cast",
"from_pin": "OtherActor",
"from_node": "n_overlap"
},
{
"to_pin": "execute",
"to_node": "n_sound",
"from_pin": "then",
"from_node": "n_cast"
},
{
"to_pin": "Location",
"to_node": "n_sound",
"from_pin": "ReturnValue",
"from_node": "n_getloc"
},
{
"to_pin": "execute",
"to_node": "n_hide",
"from_pin": "then",
"from_node": "n_sound"
},
{
"to_pin": "execute",
"to_node": "n_nocollision",
"from_pin": "then",
"from_node": "n_hide"
},
{
"to_pin": "execute",
"to_node": "n_delay",
"from_pin": "then",
"from_node": "n_nocollision"
},
{
"to_pin": "execute",
"to_node": "n_show",
"from_pin": "then",
"from_node": "n_delay"
},
{
"to_pin": "execute",
"to_node": "n_collision",
"from_pin": "then",
"from_node": "n_show"
}
],
"parent_class": "Actor",
"blueprint_name": "BP_HealthPickup"
}