Koni 1 Posted February 11, 2011 Just a couple of quick questions. I am going to use the "unitname hideObject true" command to hide and reveal units later on in a mission, and having the selected ones "hide" from the starts easy enough, but how do you refer to a lot of units in a single string to change it to false ? ie. [u1, u2, u3, u4] hideobject false I take it using the [] creates an array, and arrays expect an object not a command, if I have got this right.... so what do I need to be able to name a lot of units in a line with one command at the end for what I want to happen ? Secondly. With this hiding units, does it save whatever resources is normally used to display a unit, until it is revealed ? Thanks Share this post Link to post Share on other sites
nuxil 2 Posted February 11, 2011 { _x hideobject false;} foreach [u1, u2, u3, u4] Share this post Link to post Share on other sites
Koni 1 Posted February 11, 2011 Brilliant. Thanks :) Share this post Link to post Share on other sites