Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tutorials/scripting/gdscript/gdscript_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2545,6 +2545,13 @@ This also means that returning a signal from a function that isn't a coroutine w
With this type safety in place, a function cannot say that it returns an ``int`` while it actually returns a function state object
during runtime.

When awaiting a signal which had multiple parameters, such as ``signal item_dropped(item_name, amount)``, the result of the await will become an array of the parameter's values::

func dropped_item():
var result = await item_dropped
print(result[0] + " was dropped " + result[1] + " times")


Assert keyword
--------------

Expand Down