Jump to content

RobBrown4PM

Looking to mass add items and insignia to multiple units at once

Recommended Posts

Making a mission where in which I want all units on one side having a specific item (In this case an arm band) on every unit on BLUFOR. Similarly, one for OPFOR as well. 

 

Secondly, is there a way to mass add a insignia to specified units all at once. Like adding specific items to individual units, it's time consuming. 

 

How, if possible, do I go about adding these types of directives in Eden (or where ever it needs to go)?

Share this post


Link to post
Share on other sites

You could do something like...

  Reveal hidden contents

...although some people do not like the EH EntityCreated as it fires for many things, even though the code above filters immediately for units only( CAManBase ).

Another possible solution is to instead use the GroupCreated EH and monitor for any units joining the said group.

  Reveal hidden contents

 

 

If your talking about config-wise ( as your post is in the config section ) then you could always create a mod that adds an Init EH to SoldierEB, SoldierWB and SoldierGB ( being east, west and independent respectively ) that runs a function to change their Insignia/items.

 

Or if you are using ACE then they have the ability to add Init handlers by script/config(description.ext).

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

×