Jump to content
Sign in to follow this  
molotov_billy

Editing multiple units at once

Recommended Posts

Sorry, noob question, did a search but hard to search for something like this. What is the key combo to edit multiple units at once? Say I want to change & sync an entire squad to the same skill level, for example - or add the same init lines to every soldier, rather than going one by one.

Share this post


Link to post
Share on other sites
It's called Copy/Pasta my friend.

Well, if I have a squad with all different types of soldiers, want to maintain their differences but change one field to the same value, like skill, copy paste would not do this.

Share this post


Link to post
Share on other sites

There's no key combo.... you have to do it with script. Something like this in the leaders init will do it for a group...

{_x setskill 0.7} foreach units group this;

..or for all units in the game....

{_x setskill 0.7} foreach allunits;

This is where learning to script comes into it. You can do much more powerful things than just using objects in the editor.....just about anything really!!

Here's a link to the scripting commands.... Arma 2 Scripting Commands

You should also read this.... for Armed Assault and older .sqs but still applies big time. Mr Murray's Armed Assault Editing Guide.

Edited by twirly
Clarity

Share this post


Link to post
Share on other sites

I agree that this could be better in the editor. I hope that the Arma 3 editor will have these kinds of improvements. But for now unfortunately we have to stick with this individual unit management in the editor (unless we use scripts as mentioned above of course).

Share this post


Link to post
Share on other sites

You can do a simple search and replace in the mission.sqm file.

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  

×