thumbnail blueprint
blueprint

Compare Items (Struct Equal Alternative)

  • Exposure: public
  • UE Version: 5.0

avatar author

EMPOK

September 18, 2022, 5:53 pm

Compares 2 Elements of the same type. It's the equivalent to the EQUAL operator but since it is not available to compare Structures, you can do it with this Macro.

Inputs are WILDCARDS so they will adapt to the first connected input.

For example: Connect a custom made Structure to the "COMPARE A" node and then another Structure of the same type to "COMPARE B" and it will give TRUE or FALSE if the 2 Structures contain the same data.

I hope this is helpful to someone. :)

If you feel generous you can donate here :) https://www.paypal.com/donate/?hosted_button_id=CBGEPMBYLCKGG

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v