DOA 20 Posted March 11, 2009 I hope this is not a duplicate question. I may not be searching with correct terms. Is it possible to only run a script if the client is in veteran mode? An example would be a unit tracker sqs or movemarker script. In regular mode units are tracked automatically on the map. This makes a unit tracker script, used in regular mode, cause two markers for the tracked units. My goal is to have a unit tracker sqs run only when my missions are played in veteran mode. Thanks. Share this post Link to post Share on other sites
HitmanFF 6 Posted March 11, 2009 cadetMode will provide the info you need Share this post Link to post Share on other sites
Master85 1 Posted March 11, 2009 I think you're looking for this. Edit: Share this post Link to post Share on other sites
Rav_Raven 8 Posted March 12, 2009 Add at the beginning of your script <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">if (cadetmode) exitwith {}; Share this post Link to post Share on other sites
DOA 20 Posted March 13, 2009 Thank you all very much for helping me with this. My issue was resolved by adding the code, provided by RAV_Raven, to the begining of the tracker.sqf. I'm using tracker.sqf to provide a sort of blue force tracking system on the map which is needed when the mission is played in Veteran mode also. In regular (Cadet) mode this duplicated the units tracking markers. Thanks again...DOA Share this post Link to post Share on other sites