HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unhide multiple units?

08-08-2002, 07:10 PM#1
Guest
Since hidden units aren't counted in "units in region" queries, is there any way to "pick" multiple hidden units so that a group of them can be unhidden with one action? Or do I have to use a seperate unhide action for each individual unit? It's not a big deal with cut-n-paste, but it's inefficient.
08-08-2002, 11:28 PM#2
Guest
If you have just one action to unhide a unit, use a For Integer A or B loop

As in For 1 to 8, unhide blah blah blah

It really depends on many factors. Like are theses units stored in a unit array. If they are it makes things easier. Other wise you can use the action

Action -> Pick Every Unit in Unit Group and Do Action
Specify the unit gorup as those units that you want to Unhide. You could createa a Unit Group variable for this if you want. Then do Unit->Unhide as the action