Document the argument count limit in `SceneTree.call_group()`

This limitation should be lifted in 4.0 thanks to the new method
binding system, but it's still present in 3.2.x.
This commit is contained in:
Hugo Locurcio 2020-12-15 00:51:45 +01:00
parent ee903becc8
commit 9c234abdc9
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,8 @@
<argument index="1" name="method" type="String">
</argument>
<description>
Calls [code]method[/code] on each member of the given group.
Calls [code]method[/code] on each member of the given group. You can pass arguments to [code]method[/code] by specifying them at the end of the method call.
[b]Note:[/b] [code]method[/code] may only have 5 arguments at most (7 arguments passed to this method in total).
</description>
</method>
<method name="call_group_flags" qualifiers="vararg">
@ -34,7 +35,8 @@
<argument index="2" name="method" type="String">
</argument>
<description>
Calls [code]method[/code] on each member of the given group, respecting the given [enum GroupCallFlags].
Calls [code]method[/code] on each member of the given group, respecting the given [enum GroupCallFlags]. You can pass arguments to [code]method[/code] by specifying them at the end of the method call.
[b]Note:[/b] [code]method[/code] may only have 5 arguments at most (8 arguments passed to this method in total).
</description>
</method>
<method name="change_scene">