Hello!
I’m new to this.
I want to know, if there is a method to use a real sub call with parameters. All
answers i can find saying me, that i have to use functions. But this is nonsense,
cause funtions/extension don’t allow me to access objects that exists in my scene except with parameters.
The problem is i need to create an object during runtime and set some object variables. Inside the function of the extension these are unknown as it seems.
(Cause extensions should be independent, so we can use them in other projects, i know)
On the other side, linked external events can’t process parameters. So using them
makes it ugly and illegible.
So, how can i do this in gdevelop. Creating a reusable sub routine only for this project with parameters and full access to all the local and global variables and objects. I mean this should be the minimum for structured programming, no matter if its coded or visually.
Maybe I’m just too stupid.
Regards,
Mischa