Variable goes dead btwn one function and another??

This works fine. Attach script if you need help with something specific. Once you’ve assigned a valid value to a reference variable:

You’re free to use this (Hit Actor) variable in any functions / macros / graphs / events of this actor - until you dereference Hit Actor yourself or it becomes Destroyed, which you’d need to do manually, too (or play with object lifespan).


It’s bad enough trying to get variables from one BP to another, but this is even more ridiculous.

Passing data between objects is the very core of OOP; consider:

For all your comm needs!

1 Like