-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Game: Add support for script_execute()/script_execute_ext() to call constructors #7995
Labels
documentation
Improvements or additions to documentation are required by this issue
feature request
New feature (or a request for one)
Milestone
Comments
Added in 2024.11 |
script_execute
and script_execute_ext
to call constructors
YYBartT
added a commit
to YoYoGames/GameMaker-Manual
that referenced
this issue
Oct 29, 2024
…to call constructors YoYoGames/GameMaker-Bugs#7995 * Documented the new behaviour of script_execute() and script_execute_ext() when passed a constructor in snippet * Modified the note on the Structs & Constructors page * Added two new code examples, one on the script_execute() page, on the script_execute_ext() page
YYBartT
added a commit
to YoYoGames/GameMaker-Manual
that referenced
this issue
Oct 29, 2024
…to call constructors YoYoGames/GameMaker-Bugs#7995 Small changes
Documented the new behaviour on the |
YYBartT
added a commit
to YoYoGames/GameMaker-Manual
that referenced
this issue
Oct 29, 2024
…to call constructors YoYoGames/GameMaker-Bugs#7995 * script_execute_ext() page code example: moved the increment to its own line for clarity
Verified fixed in IDE v2024.1100.0.661 Runtime v2024.1100.0.687 Everything appears to be working as expected and documented in this ticket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation are required by this issue
feature request
New feature (or a request for one)
Is your feature request related to a problem?
With the addition of the error check to disallow constructors from being called normally - there is a requirement for library writers to be able to call a constructor with an array (in the way that
script_execute_ext
allows).This will allow for more dynamic code to created without having a tower of doom to support different numbers of arguments.
Describe the solution you'd like
Allow the following code to work
Project attached -
Bug-7995.zip
Describe alternatives you've considered
constructor_call
and other new functions - but we do not want to add a new function at this timeAdditional context
No response
The text was updated successfully, but these errors were encountered: