Jump to content

Recommended Posts

Hello all!!

 

 

Im trying to create some script that every 2 minutes (maybe handled with a trigger) will share all knowsabouts of between side groups.

What i want to achieve is a side total awareness on the mission, if group A is engaging with an enemy BMP, group B, far away, will se that BMP on the map.

 

I tried with triggers, and using this script someone shared:

 

"AnyGroup" knowsAbout _target;

{
if(side _x == East) then {
_x reveal _target;
}
}forEach AllUnits;

 

 

I use it on a trigger and it gaves error.

 

Any ideas? It's for a multiplayer mission using zeus.

 

Shouldn't be hard, but im kinda a rookie on arma editing.

 

Thanks!!

Share this post


Link to post
Share on other sites
{ _unit = _x; _targets = _unit call BIS_fnc_enemyTargets; { _target = _x; _unit reveal _target; } forEach _targets; } forEach (allUnits select { side _x isEqualTo east });

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you m8, will test it right away!

 

That should go on the trigger, isn't?

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

×