I have question about changing variable

  • q1: Both are fine. Calling a custom event would allow you to execute more script, see q2
  • q2: Calling a Custom Event would allow you to dispatch a callback, as in:

Calling it:

Both are fine

To clarify. They’re not identical. For a deeper dive:


tl;dr: in BPs, you can flag variables as Private - resulting in other blueprints being unable to access those variables directly (as in q1).

You will see it neglected often.

then Event dispatcher is what i looking for (i knew this through unreal Doc but i didn’t understand what for)

Now i will search access variable should be carefully separate and protected. (currently i just share everyone and use it.)

but it seems could be wrong or just keep future multiplayer in mind.

i learn a lot. Thank you! Have nice day!