Simple Arma 3 SQF script for creating a carbomb.
To use this in your scenario, follow these instructions:
- Open up the editor, with your scenario.
- Attach the init code below to any vehicle you want to give this functionality to.
- Make sure "carbomb.sqf" is in the same folder as your mission file.
- Walk up to your car, arm it in the action menu, and run away. It will now activate on engine start.
If you're still confused, feel free to check out the official Steam Guide!
_thisVehicle = vehicleVarName this;
this addAction ["Arm With Carbomb", "carbomb.sqf", ["_thisVehicle"], 1, false, true, "", "true", 5, false, "", ""];