Following mines are placeable in the mission editor:
- Bouncing Betty
- Tripflare M49
- Tripflare DM16
To set up a mine with a tripwire type in the mines init field in the editor:
this setVariable ["direction", 90]; // Set tripwire direction
This will add a tripwire pointing 90 degrees from the mine (regardless of it's orientation).
The tripwire will automatically have the maximum length.
To shorten the tripwires length, add to the init field of the mine:
this setVariable ["length",3]; // Set tripwire length
This will shorten the tripwire length to 3 meters.
The placeable M16A1 "Bouncing Betty" can be armed in two ways.
Either by the above mentioned code or by
this setVariable ["local",true]; // Armed mode only
This will just arm the mine. (Works only for the M16A1. If you don't specify ANY setVariable for the M16A1, the mine will automatically fall back to armed-only mode. Other mines such as M18A1 or POMZ-2 will become duds this way.)