texkaz 33 Posted May 5, 2011 I used this set of code: [player] joinSilent grpNull; {if ((group _x) != (group player)) then {[_x] joinSilent (group player)}} foreach (crew (vehicle player)); to get the player and his tank out of a group of 3 other tanks. Well unfortunately that also takes away the waypoints. So is there another way to get all of my other tanks into group null or completely phase them out of existence? Share this post Link to post Share on other sites
demonized 20 Posted May 6, 2011 http://community.bistudio.com/wiki/copyWaypoints this for maybe some scripting. join all but the vehicle of player to grpNull, keeping original wps. {if ((vehicle _x) != (vehicle player)) then {[_x] joinSilent grpNull}} foreach units group player; Share this post Link to post Share on other sites
texkaz 33 Posted May 6, 2011 so if I named a vehicle t902 the script would be {if ((t902 != (vehicle player)) then {[_x] joinSilent grpNull}} or just that script for each vehicle? Share this post Link to post Share on other sites
demonized 20 Posted May 6, 2011 when you run the code i posted 1 time, anyone in player group that is not in the same vehicle as player will join grpNull(leave player group), leaving only player and his crew in grp (alone) and still have wps. No need for any names, simply use line as is. Share this post Link to post Share on other sites
texkaz 33 Posted May 6, 2011 Thank you Demonized for this and the last thread. You're helping me out alot. Share this post Link to post Share on other sites