gopgop 1 Posted April 29, 2012 private ["_rtarget"]; _rtarget = [t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13]; forEach _rtarget do { _rtarget animate["terc", 0]; }; hint "CQB Training: Targets Reset"; all im trying to do is reset the targets... im using addAction to a flagpole and calling this script in it... this addAction ["Reset Targets","resetTarget.sqf"]; Share this post Link to post Share on other sites
5133p39 12 Posted April 29, 2012 private ["_rtarget"]; _rtarget = [t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13]; { _x animate["terc", 0]; } forEach _rtarget; hint "CQB Training: Targets Reset"; More here: forEach Share this post Link to post Share on other sites