mrmax 0 Posted June 1, 2002 I have a great script for tracking units. Â The script uses a unit marker that shows up on the map. Question: Â Instead of using normal markers, is there a way to call the unit specific markers shown in cadet mode? Meaning a tank marker, a jeep marker, helo marker, etc. Does anyone know how to call those markers in a script? ************* The below script was provided by Karrillion at OFPEC... I have not modified it. Â You can modify this script to track 1 unit, all units, units of just one side, or a group, etc. Â ************* ;VclGps.sqs ;To use this script, give unit name, ie: M1A1 tank named: ;WTank1. Now create a marker for the tank, name marker: ;MKWtank1. Do this for each unit you want to track. #Init Hint "UPDATING GPS INFORMATION. Â STANDBY." _WVcls=[WTank1, "MKWTank1",Wtank2,"MKWTank2",WJeep1,"MKWJeep1"] _EVcls=[ETank1, "MKETank1",Etank2,"MKETank2",EJeep1,"MKEJeep1"] _VclList=_WVcls+_EVcls #LoopInit _g=0 _count=(Count _VclList) #LoopStart _vcl=(_VclList Select _g) _g=_g+1 _vclmarker=(_vclList Select _g) _vclmarker SetMarkerPos (Getpos _vcl) _g=_g+1 ?(_g>=_count):Goto "LoopExit" Goto "LoopStart" #LoopExit ~2 Hint "ALL VEHICLE LOCATIONS UPDATED VIA GPS TRACKER." Exit Share this post Link to post Share on other sites
InqWiper 0 Posted June 2, 2002 I dont have an answer to Ur question but I hope you dont mind if I add some questions about markers Is there any way to move markers without a script and without moving it to another marker? I have tried with setpos but I couldnt get it to work. Do the markers U add on the map ingame get a name? If I place a marker on the map while playing, is there a way to move something to that marker? Share this post Link to post Share on other sites