Function parameters are parameters, not scene variables You must get them using GetArgumentAsNumber(“yourParameterName”) or GetArgumentAsString(“yourParameterName”)
You can find them in the “Functions” category in the expression selector:
To have a better visual separation between functions and behavior functions.
To make it more explicit that parameters are not scene variables. Maybe a dismissable Alert telling that String/Number parameters can be used inside events with GetArgumentAsNumber/GetArgumentAsString?
At least, we should add this to the wiki because I don’t think there is a page explaining GetArgumentAsNumber/GetArgumentAsString
Looking super great! Really nice and make the game look more dynamic and polished, well done
If you’re willing to, feel free to export the extension to a file and submit it to GDevelop-extensions (all the details are on this help page).
I’ll be happy to make this part of the library of extensions