Function has its parameters, and the user need to decide what the function should be. This way I’m adding the function that when you double click the item in actionlist you will be able to edit them.
Here is a picture showing how it look like:
Input parameter in the pop-up parameter window and press OK to save the parameter to the item in actionlist.
For our game there are either two parameters or one parameter for a certain function. When there are two parameters for the function, there will be two input boxes showing in the parameter window.
Following are some code of how I realize it: