C++ Equivalent to BP function.

Any Suggestions would be appreciated.:slight_smile:
Screenshot (70)
Thanks in advance.