errrm Armsty,
_marker is a local variable -> you're right
but:
"_marker" is a string called: "_marker"
When executing your script the line should look like that:
[whatever,whatever,whatever,"markername"] exec "script.sqs"
Now you can say in your script:
_marker = _this select 3
and now you can say:
_marker setMarkerpos getpos _gl
as _marker now represents: "markername"
:edit - btw - another way could have been (in case you wouldn't
execute the script with the markername between quotes);
_marker = format ["%1",_this select 3]
That way you could have put the markernames into quotes
too then.
~S~ CD