i am writing a plugin and found it very difficult to add/remove parameters of actions/expressions later on.
For example i use in my project an action with 2 parameters of my plugin: doSomething(1,2) and want to add a third parameter to this action. I change the code of the plugin and receive an error after i reopen my project.
How i manage it? If i want to add the parameter in construct2 first it won't let me, cause the action only has 2 parameters, if i add the third in the plugin i won't be able to open my project anymore due to the problem that my action only has 2 paramters instead of 3.
The only possible solution is to delete the action before. Change the plugin and add the action after restart again with the additional parameter, but seriously this cannot be the right way. What if i use the action a dozen times in my game. How do i mange it the right way? Thanks a lot