This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+5 votes

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

in Engine by (692 points)
edited by

1 Answer

+1 vote
Best answer
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 ;)

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

by (288 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.