How do I do to make OnMapSingleClick work in a script?
Say that I want an "action menu" command to activate a script (action menu to be able to pass the caller to the script). Then let the script wait for a map click and then use the _pos from that click.