What does the parameter 'flag' for SceneTree.call_group mean?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By genete
:warning: Old Version Published before Godot 3 was released.

I can see that there are constants in the SceneTree class:

GROUP_CALL_DEFAULT = 0
GROUP_CALL_REVERSE = 1
GROUP_CALL_REALTIME = 2
GROUP_CALL_UNIQUE = 4

But the default value fails in my usage of the call_group of my project. It works with the ‘realtime’ value.

I would like to know what’s the difference between each flag.
Thanks

:bust_in_silhouette: Reply From: Matt_UV
GROUP_CALL_DEFAULT = 0 - Regular group call flag (no flags).
GROUP_CALL_REVERSE = 1 - Call a group in inverse-scene order.
GROUP_CALL_REALTIME = 2 - Call a group immediately (usually calls are delivered on idle).
GROUP_CALL_UNIQUE = 4 - Call a group only once, even if call is performed many times.

I know you asked this question last year, but I found the answer (maybe you have too).
I’ll post it for other people wondering :wink:

Source: https://github.com/thehui87/Learning-Godot/blob/master/class_scenemainloop.md
(might be outdated, it is an old page)