Jump to content
Sign in to follow this  
Koni

Arrays expecting objects ?

Recommended Posts

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×