Good stuff, thanks Sy,
I will take another look at the BAS F and see if I can get a better handle on what is going on in my script on the dedi-server.
I appreciate your help!
Ok,
I was able to get some debugging comments to display on a dedicated server using 'sidechat'.
I modified the script adding some debugging info here:
hint ""
mh6_1 sidechat "INSIDE alphainsertion"
;? (!isServer): exit
setfire=true
onMapSingleClick "AlphaTarget setpos _pos; setfire=false"
@!setfire
mh6_1 sidechat format ["Alpha coords: %1", getpos AlphaTarget]
"AlphaInsertion" setmarkerpos getpos AlphaTarget
; onMapSingleClick ""
mh6_1 sidechat format ["Marker Placed: %1", getpos AlphaTarget]
#Start
_markerobj = createMarker["Alpha", getpos AlphaTarget]
_markerobj setMarkerShape "ICON"
"Alpha" setMarkerType "DOT"
"Alpha" setMarkerText "Alpha Insertion"
mh6_1 sidechat format ["Marker Created: %1", getpos AlphaTarget]
driver MH6_1 flyinheight 50
driver MH6_1 domove getpos AlphaTarget
driver MH6_1 setspeedMode "Full"
mh6_1 sidechat format ["Driver flying: %1", getpos AlphaTarget]
#Insert
All of the sidechat's display out when I run the mission. I am getting what looks like a valid coordinate each time, but again, no marker is created and the heli doesn't take off. I will keep working on it. If I can find some examples of placing a marker differently from how I am doing it currently I will test that....
Any other suggestions are appreciated.
Cheers!
Another update after some testing.
I placed the displaying of the coords before and after the 'onmapsingleclick'.
I am seeing some strangeness.
The coords before the click are '-5590.15,27300.7,-70.7219'. This is true on both dedi and non-dedi server.
On non-dedicated server, the coords change to wherever I click. On a dedi server, the coords never change. So, something is happening (or not), with my onmapsingleclick, it doesn't seem to be setting the coords for the 'alphatarget'.
I tested some more and found these results.
I had assumed that the above coords showed the location of where i 'pre-placed' (in the editor) that 'alphatarget' marker, but it isn't. I moved the marker close to the heli to test. I also did this to see if the heli was experiencing the 'doesn't take-off because marker is too far away' bug. After moving the marker and testing again, I get the exact same coords, so this actually isn't the coords of the 'alphatarget' marker, I am thinking that it is just some placeholder coords when no actual coords exist.
Regardless, again, this is working in SP and non-dedicated server, so I am back to that how I am using 'onmapsingleclick' doesn't seem to be working for me in dedicated-server mode.
Does anyone have a script that is known to work on a dedicated server that uses 'onmapsingleclick'?
Thanks!
p.s.
Here is my current code (the part I changed anyway), reflecting a few of these changes:
hint ""
mh6_1 sidechat "INSIDE alphainsertion_2"
mh6_1 sidechat format ["Pre-Place coords: %1", getpos AlphaTarget]
;? (!isServer): exit
setfire=true
onMapSingleClick "AlphaTarget setpos _pos; setfire=false"
@!setfire
mh6_1 sidechat format ["Alpha coords: %1", getpos AlphaTarget]
;"AlphaInsertion" setmarkerpos getpos AlphaTarget
createMarker["Alpha", getpos AlphaTarget]
onMapSingleClick ""
mh6_1 sidechat format ["Marker Placed: %1", getpos AlphaTarget]
#Start
"Alpha" setMarkerShape "ICON"
"Alpha" setMarkerType "DOT"
"Alpha" setMarkerText "Alpha Insertion"
mh6_1 sidechat format ["Marker Created: %1", getpos AlphaTarget]
driver MH6_1 flyinheight 50
driver MH6_1 domove getpos AlphaTarget
driver MH6_1 setspeedMode "Full"
mh6_1 sidechat format ["Driver flying: %1", getpos AlphaTarget]
#Insert
me again

I found a couple things that maybe someone can help out with.
First, there is a post here:
http://www.ofpec.com/forum/index.php?topic=26071.0 that talks about a reference in the editors depot about 'making onmapsingleclick public'. The link referred in that post is broken, and I can't find this reference anywhere. Does anyone have info on this.
The other thing, is I downloaded an MP Artillery script that had this:
onMapSingleClick "[_pos, _units, _shift, _alt] exec ""artillery.sqs""; false"
In the init.sqs.
Does this have to do with making onmapsingleclick public?
Thanks!