I am completely new to construct 2, and I am a "classic" developer that usually writes code, so I have a hard time trying to understand construct 2.
I need to set the opacity of the mouse cursor, dependent on some condition in the game.
So I decided to create a function that would change the mousecursor sprite, but adjust the opacity of the sprite before doing so.
This function needs to take a parameter telling it if it should increase or decrease the opacity.
But how do you create a function that takes a parameter, and how do you access the parameters within the function?
The manual mentions that a function can take a parameter, but does not give an example of how you actually create such a function.
The old dude is a little confused