Download

BlueprintNativeEvent obtaining references magically

Is this black magic or I’m loosing something :confused:

I have this method:
Captura.JPG

It’s a NativeEvent so I have to implement it on BP. It has a parameter, a input one, it’s made to increase the power atribute of the character at it’s pointing but instead of that this is what I have:

blackmagic.JPG

It’s giving me a output pointer that is pointing to the character. WFT? Why is this posible? Is he presupposing or something?

At the end of the node its calling the function implemented in c++ that is the same but implemented and It works… (why is it taking that parameter like a input but the other like a output it’s a good question too)

Thanks!