lawman_actual 24 Posted July 1, 2015 I'm struggling to make a 'for each' line work as part of a waypoint statement...I keep getting error messages saying I've provided 3 variables when two were expected. I've tried the following ways of doing it: _usrtb13one setWaypointStatements ["true", "for '_i' from (count crew starthemtt13one) to 0 step -1 do {starthemtt13one deleteVehicleCrew (crew starthemtt13one select _i);}"]; _usrtb13one setWaypointStatements ["true", "{starthemtt13one deleteVehicleCrew _x} forEach crew starthemtt13one;"]; Thanks! Share this post Link to post Share on other sites
das attorney 858 Posted July 1, 2015 _usrtb13one setWaypointStatements ["true", "{deleteVehicle _x} forEach crew starthemtt13one;"]; Share this post Link to post Share on other sites
f2k sel 164 Posted July 1, 2015 I think he has another issue as the second one works fine Share this post Link to post Share on other sites
lawman_actual 24 Posted July 1, 2015 My mistake ladies and gentlemen I was simply using the wrong handle and trying to set waypoint statements for something that was not in fact a waypoint >_< Share this post Link to post Share on other sites