Announcement

Collapse
No announcement yet.

Event/functions, what's the main difference between them?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Event/functions, what's the main difference between them?

    They are similar in:

    I double-click function, it tells me what's it gonna do; I double-click event, it also tells me what's it gonna do.

    function can be used outside, events can be used outside.

    What's the main difference between them? When should we use events, and when should we use functions?

    #2
    https://www.unrealengine.com/blog/ma...-in-blueprints

    Short answer: custom events can have latent actions(e.g. delay) and timelines... functions can have non-exec outputs
    https://www.casualdistractiongames.com

    Comment


      #3
      TL : DR - functions can return a value - events can't.
      Rule#21: Be polite, be professional, but have a plan to kill everyone you meet.

      Comment

      Working...
      X