Well, i used the search function but the more i read there, the more i get confused. What i want is pretty simple: getting the position of a mapclick.
What i think i have understood:
The onmapsingleclick doesn't pause the script until a mapclick occurs. So i would need a variable set to false, onmapsingleclick setting this variable to true and after this a waituntil command to stop the script till the map is clicked.
I know (guess) that onmapsingleclick returns _pos as it's position but mostly this is used to call a script ([_pos] execVM "blabla.sqf"). So can i get this _pos into my script by using _mypos = _pos?
I guess i just need the correct onmapsingleclick line of code (maybe including the variable which will waituntil need to wait).
May anyone help me on this?