Kladho 10 Posted March 8, 2010 (edited) i have this code: NameMarker" setMarkerPos [0,0]; onMapSingleClick "NameUnit move _pos;""NameMarker"" setMarkerPos _pos"; true; onMapSingleClick """"; "; if (NameUnit distance _pos <=1) then {deleteMarker "NameMarker"}; this code is activated bye addAction but is isnt working Plaese help me i am CONFUSED :butbut: Edited March 8, 2010 by Kladho Share this post Link to post Share on other sites
jw custom 56 Posted March 8, 2010 Here: "NameMarker" setMarkerPos [0,0]; onMapSingleClick "NameUnit setPos _pos; 'NameMarker' setMarkerPos _pos; true; onMapSingleClick ''; "; if (NameUnit distance _pos <=1) then {deleteMarker "NameMarker"}; You should of course have a marker named NameMarker and a unit named NameUnit. Share this post Link to post Share on other sites