Jump to content

Recommended Posts

I'm trying to do triggerman for the ied and what I need is when player is in ieds trigger area AND is seen by unitX, then the ied will explode. "Detected by sideZ" option in the trigger doesn't seem to work that well...

For now, I'm doing all this in the editor. 

 

Is there some code I could use in condition of trigger, like:

 

"unitX HasItsEyesOn unitY";

 

?

  • Like 1

Share this post


Link to post
Share on other sites
11 minutes ago, pierremgi said:

unitX knowsAbout unitY > 1.5

 

 

Is it possible to convert to MP? Or side?

 

Like: unitX knowsAbout anyPlayer > 1.5;

 

Like: unitX knowsAbout BluFor > 1.5;

Share this post


Link to post
Share on other sites

You just have to read and follow the example 2 or 3 of the link I wrote.

or

if it's multiple targets (allplayers) for one sentinel:

 

selectMax (allPlayers apply {sentinel knowsAbout _x}) > 1.5

  • Thanks 1

Share this post


Link to post
Share on other sites
39 minutes ago, pierremgi said:

if it's multiple targets (allplayers) for one sentinel:

 

selectMax (allPlayers apply {sentinel knowsAbout _x}) > 1.5

Thank you. I really appreciate.

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

×