Questions tagged [unreal-blueprint]

Blueprints are Unreal Engine 4's visual programming structure. Use this tag for all questions related to blueprint programming in Unreal Engine 4.

Unreal Engine 4's Blueprint system replaced Unreal Engine 3's Kismet in May 2012. Blueprints help add functionality to meshes, props and players in order to turn 3d art into a working game.

316 questions
7
votes
1 answer

Why GetAllActorsOfClass returns empty?

I have a PlayerControl.cpp class which derives from Pawn class In that class , I have a method to get all Actors in Map TSubclassOf ClassToFind; TArray FoundEnemies; UGameplayStatics::GetAllActorsOfClass(GetWorld(), ClassToFind,…
Kas
  • 3,209
  • 3
  • 22
  • 51
5
votes
2 answers

Spawn actor from class in Unreal Engine using Python

Using Blueprint, I can SpawnActorFromClass with a StaticMeshActor, but with a Python script via the builtin Python Script plugin, unreal.EditorLevelLibrary().spawn_actor_from_class(ue.Class(name='StaticMeshActor'), location, rot) I got: LogPython:…
kakyo
  • 7,592
  • 9
  • 54
  • 95
4
votes
1 answer

Why the UPROPERTY specifiers Visible*/Edit* are used together with BlueprintRead*

Unreal Engine 4 provides three specifiers to control the visibility and editability of an C++ class member exposed to Blueprint via UPROPERTY(). The documentation in the UE4 source code (see also UE4 wiki, UE4 documentation) says the following…
Roi Danton
  • 5,515
  • 4
  • 44
  • 62
4
votes
1 answer

How to create a custom c++ class to use with blueprint

I am trying to create a custom class that i can then use in my blueprints. I need this class to hold player information like name and a path to their picture. What I have made so far doesn't compile or build without errors and I don't know how to…
3
votes
0 answers

UE4: How to cast actor to blueprint interface type

I'd like to store a variable of type Actor in a variable which is of a BP interface type. Is there something like a Cast To BP Interface BP node? I know about the Does Implement Interface (which does not return a reference to the interface instance)…
Noel Widmer
  • 4,078
  • 6
  • 44
  • 62
3
votes
1 answer

How to find something in all blueprints?

I need to find a certain block but I dont remember which blueprint it is so how to find anything in all blueprints ? if this is not possible maybe a feature request.
William
  • 3,692
  • 10
  • 50
  • 101
3
votes
2 answers

Unreal Engine: Can it be done primarily with C++/scripting instead of Blueprints?

I'm considering my options for a game engine. I did the Twin Stick Shooter tutorial. What frustrated me most is that most of the programming is done in Blueprints, which is this ugly (being subjective here, but not for long) graphical programming.…
3
votes
2 answers

Unreal Engine 4 Blueprint

Im new to unreal I have a problem with the communication from Hud_Blueprint to Level_Blueprint. I want to have a slider in the Hud which controls the rotation of a cube in the level. In the Hud_Blueprint i have the slider I made in a…
2
votes
1 answer

Unreal - How to avoid hardcoded path when creating an object in cpp

The following code has been bothering me for a bit: ARollingBall::ARollingBall() { UStaticMeshComponent* sphere; sphere = CreateDefaultSubobject(TEXT("ball")); static ConstructorHelpers::FObjectFinder
Jason Basanese
  • 660
  • 5
  • 16
2
votes
0 answers

UE4: Track the disappearance of actors in a scene

There are several Actors in the scene that are destroyed during the game. How do I track when this happens? TActorIterator keeps track of the Actors, but how to use it to keep track of their deaths and to issue a message about this? The idea is…
neoluna
  • 21
  • 1
2
votes
0 answers

UE4 pathfinding without turning around as in Pacman

I am making a 3D Pacman Game using Blueprints and the UE4 standard NavMesh pathfinding algorithm. It works all fine, but I can't get the pathfinding to prevent 180 degree turns. In Pacman, the ghosts can't directly turn around and have to find…
Florian
  • 43
  • 3
2
votes
1 answer

UE 4.24.1 Advanced Sessions Plugin - Steam Dedicated Servers - Can't find the server 02-15-2020, 11:15 PM

I am trying to make the MultiplayerShootout project provided by EpicGames support the steam dedicated servers. But i couldn't manage the FindSessions node to return the dedicated server. It is told that you can't host a server and a client for steam…
2
votes
1 answer

What is the correct way to access a blueprint class component in C++

I recently switched from unity and I wanted to know if there was a “getComponent” equivalent in UE4? I have an enemy script and I created a blueprint from that script and have added a widget with a progress bar to show the enemies health during…
2
votes
1 answer

What is Unreal equivalent of Unity gameObject.parent?

In the Unreal Blueprint Editor I have a hierarchy of components with a Scene parent and Pose Mesh child. I can get the component in Unreal through GetParentComponents(), but this returns an array while I just need the Scene component and not every…
karamazovbros
  • 752
  • 1
  • 4
  • 27
2
votes
2 answers

Blueprints reset variable values every compile

Using UE 4.23.1 Basically, i'm following a very simple tutorial. I've extended multiple base classes, and it seems in ANY of my extensions, the variables for all components (e.g., physics, collision, static mesh, etc) all reset EVERY TIME i do a…
stackdev
  • 63
  • 1
  • 6
1
2 3
21 22