Announcement

Collapse
No announcement yet.

Getting the BP name a node is being used in.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by BrUnO XaVIeR View Post
    Use 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.
    thanks dude

    Leave a comment:


  • replied
    Use 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.

    Leave a comment:


  • 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?
Working...
X