TheRedBaron 0 Posted May 27, 2003 I want the basic format for the comand that would assign some thing for every one on the western side. like change every western units gun to one gun.this is what ive tried. "_x remove all weapons this" foreach units west so that all western unit would no longer have a weapon. what im really trying to do is give all my western units one gun, I know what i just wrote was hard to follow but if you know what im trying to do please reply. Share this post Link to post Share on other sites
ralphwiggum 6 Posted May 27, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x addweapon ""weapon name""" foreach units west maybe this could help? Share this post Link to post Share on other sites
bn880 5 Posted May 27, 2003 units west I don't think that works. You may wish to create a map wide trigger, do West present repeatedly in the setup of it. Name it something like WestSide In a script you can then do "_x addweapon ""weapon name""" foreach list WestSide anyway, not checked Share this post Link to post Share on other sites
RED 0 Posted May 27, 2003 units west I don't think that works. You may wish to create a map wide trigger, do West present repeatedly in the setup of it.  Name it something like WestSide In a script you can then do  "_x addweapon ""weapon name""" foreach list WestSide anyway, not checked Should be this bn880 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x addweapon {"weapon name"}" foreach list WestSide RED Share this post Link to post Share on other sites
Chris Death 0 Posted May 27, 2003 Quote[/b] ]"_x addweapon {"weapon name"}" foreach list WestSide lol RED - shouldn't it be this?: "_x addweapon {weapon name}" foreach list WestSide or this?: {_x addweapon "weapon name"} foreach list WestSide ~S~ CD Share this post Link to post Share on other sites
RED 0 Posted May 27, 2003 lol opps yup you are right RED Share this post Link to post Share on other sites