satory 10 Posted July 6, 2009 This is probably a simple question, but I couldn't find what I was looking for so... One of the objectives in my map is a ambush a convoy, I'd like to make it that once this objective becomes the main one, basically after the trigger before it sets the convoy to move, I'd like the convoy to show on the map permenantly, until it reaches its destination. How would I go about doing this? Share this post Link to post Share on other sites
Ghost 40 Posted July 6, 2009 (edited) One way to do this is to have a script running in loop keeping a marker on the lead vehicle. create empty marker named cmark, name lead convoy vehicle convoyldr and in your trigger onactivation of trigger put: cmark = ["markername",leadvehiclename] execVM "convoymarker.sqf"; then in notepad or other text editor add the following and save file as convoymarker.sqf (make sure file extension is changed to the .sqf) and put file in your mission folder _mark = _this select 0; _cveh = _this select 1; _mark setmarkertype "dot"; While {alive _cveh} do { _mark setmarkerpos (getpos _cveh); sleep 1; }; if (true) exitwith {player sidechat "Lead vehicle Destroyed"; _mark setmarkertype "empty";}; Now I just whipped that up so it may be buggy (typo) but should work. Edited July 6, 2009 by Ghost Share this post Link to post Share on other sites
satory 10 Posted July 6, 2009 Thanks very much, I'll give it a go. Share this post Link to post Share on other sites
Ghost 40 Posted July 6, 2009 Just tested, had some typos :rolleyes: adjusted previous post should work well. in the array for markername make sure you put it in "markname" Share this post Link to post Share on other sites