I'm trying to make a script which spawns a vehicle on a player-placed marker. The following code: _vic1 = createVehicle ["C_Offroad_01_F",getMarkerPos "VehicleHere",[],0,"NONE"]; does not work, presumably because markerText and markerName are not the same. getMarkerPos works by finding the position of a marker with that specific **name**, not text, and so is useless for determining the position of markers by text, which is what I need. There is no documentation on this (prove me wrong, i beg you) and many hours were wasted trying to get this to work.   I need a script which gets me the position of a marker with specific text, for example "Vehicle Here".   This is beyond my coding ability and it would be a great help if one of you wizards could help me.   E: Courtesy of Schatten, this is the solution:   _marker = "";
{if ((markerText _x) == "MARKERTEXT") exitWith {_marker = _x;};} forEach allMapMarkers;
if (_marker != "") then {
    vic1 = createVehicle ["VEHICLE CLASSNAME", getMarkerPos _marker, [], 0, "NONE"];};