Jump to content
Hossus

Mines in Trigger

Recommended Posts

hi
4 years mission makeing in arma and still no clue about scripting :help:

 What i'm  looking for is that Ai (Opfor/East)  only detect  edtidor placed mines in trigger area (or Marker)

i cant use the Minefield module for this mission

i found this :

{ east revealMines _x; } forEach allMines;

but that is for all Mines and i just cant get it to work.

 

thx

Share this post


Link to post
Share on other sites

RevealMines is incorrect.

The command is revealMine.

 

 

 

This should do the trick;

{ east revealMine _x; } forEach (allMines select { _x inArea minefield_1 });

Change minefield_1 to the name of your trigger, or marker area.

 

  • Like 3

Share this post


Link to post
Share on other sites

thx Man

it is working

big Help

  • Like 1

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

×