Originally posted by BrUnO XaVIeR
View Post
Announcement
Collapse
No announcement yet.
Getting the BP name a node is being used in.
Collapse
X
-
BrUnO XaVIeR repliedUse WorldContext="parameter" metadata.
The context object will be set to the UObject* param you use, the value will be the BP executing the node.
You can search examples in engine source.
- 1 like
Leave a comment:
-
Bolad Daurian started a topic Getting the BP name a node is being used in.Getting the BP name a node is being used in.
Hi, for logging purposes, I would like to get the name of the object that is executing my BP Node code. That is I have a BP node created in C++, when it is used in a BP graph I would like to be able to reference that object at runtime in the C++ code. Some nodes have a Target pin that defaults to self, so I assume this is what I need to add to my c++ code. How is this done?Tags: None
Leave a comment: