Jump to content
pierremgi

[Sharing] deploy apers mines with a trigger (mine dispenser)

Recommended Posts

Hi,

Little method to touch off a dispenser while penetrating in an area.

 

1 place a trigger with the wanted activation,

2 place some mine dispensers (LOW DLC), name them

3 on act of the trigger:

driver (thislist select 0) addOwnedMine md1; driver (thislist select 0) action ["TouchOff", driver (thislist select 0)]     // where md1 is a name of a dispenser...

 

NB: driver is just to touch off in case of vehicle entering. If you want, you can skip that (driver) but make your trigger activated on infantry only.

 

Enjoy.

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

I've found an alternative that is a little less convoluted:

 

1. Same as above to create trigger

2. Create scripted mine dispensers (APERSMineDispenser_Ammo_Scripted) via a script. For example: Create a game logic where you want to mine with init code: dispenser1 = "APERSMineDispenser_Ammo_Scripted" createVehicle (position this)

3. Activation code of trigger:

dispenser1 setDamage 1

 

Hope this helps!

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Yep, excellent idea! Always try to find the "..._scripted" vehicle class for IED, mines or else.

  • 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

×