-
Notifications
You must be signed in to change notification settings - Fork 1
Connect Battery To Defusable
Mike-MF edited this page Dec 24, 2022
·
1 revision
This page will explain the usage of the Connect Battery To Defusable function.
/*
* Author: Jonpas, Mike
* Requires a Battery to IED setup, handles disconnecting battery from IED and defusing it.
*
* Call from initPlayerLocal.sqf
*
* Arguments
* 0: Battery <OBJECT>
* 1: Defusable Explosive <OBJECT>
*
* Return Value:
* None
*
* Example:
* [Battery, IED] call MFUNC(connectBatteryToDefusable);
*/
This allows you to "connect" an explosive to another object i.e Laptops. The explosive can then be defused by interacting with the laptop instead.
Call from initPlayerLocal.sqf
Example:
[Connected Object, Explosive] call MFUNC(connectBatteryToDefusable);
Pages
- Home
- Your First Mission
- Creating A Mission
- Contract Missions
- Difficulty Guidelines
-
Functions Library
- Base Spectator
- Bomber
- Car Alarm
- Chemical Detector
- Collect Intel
- Connect Battery To Defusable
- Contamination Gas
- Count Alive
- Dialogue
- Disable AI
- Download Intel
- Earthquake
- Enable AI
- Force Shooting
- Ground Fog
- Hunt
- Lock Doors
- Mark Buildings
- Monitor Units
- Mortar Strike
- Ping
- Players
- Reaction
- Reinforcements
- Reinforcement Waves
- Respirator Effects
- Set Sleeping
- Sound Source
- Surrender
- Switch Action
- Teleport
- Toggle Lights
- Trigger Area
- Helicopters
- Resources
- Quality Checklist
- Useful Commands
- ArmaQDL