OK, to clear things up........
The first script is executed via an eventhandler in the config, like so....
This is the script that is executed.........
Here is that next script.......
I know, both of those scripts do not have much to them, I am going to add some server side/client side stuff later, right now I just need the basic functions to work before I make it MP friendly.
Here is the defines.hpp file, which is #included in the config....
Here is dialogs.hpp, also #included in the config.......
See this bit here?
onMouseButtonDown = "[""onMapClick"", _this] execVM ""\ad_helos_det7\Scripts\add_waypoints.sqf""";
Ya, that is where the problem script is...
I know, clear as mud right?
The "select orgy" that you are referring to is there to calculate the position of the click within the dialog.
I am not concerned with that at the moment, what I am concerned with is these markers being placed at every click.
-AD