Hello,
i'm wondering how the On Click Function for GUIs works. I didn't find a documentation in the Help file for this Option.
I figured out that there are two Integers which will be passed to the Function but I don't know what they do. One is possible for the Mouse Button clicked on the GUI but the second??
Maybe you can help meÃ,Â
Thanks
Felix
P.S.
To make it more understandable:
function gGUIName_Click(int Integer1, int Integer2) {
Ã, //some code here
}
This function works fine but I have to give the Function the 2 Integers (Integer1 and Integer2 in this example) otherwise AGS will throw an Error when clicking the GUI
i'm wondering how the On Click Function for GUIs works. I didn't find a documentation in the Help file for this Option.
I figured out that there are two Integers which will be passed to the Function but I don't know what they do. One is possible for the Mouse Button clicked on the GUI but the second??
Maybe you can help meÃ,Â

Thanks
Felix
P.S.
To make it more understandable:
function gGUIName_Click(int Integer1, int Integer2) {
Ã, //some code here
}
This function works fine but I have to give the Function the 2 Integers (Integer1 and Integer2 in this example) otherwise AGS will throw an Error when clicking the GUI