mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fad7f84625
* Add GVAR(noDefusalAction) * add changes * Prep functions * Update addons/explosives/functions/fnc_excludeMine.sqf Uhm, strange. Its clearly allMines, yet Allmines didn't only build it also worked properly. Undocumented variable? Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com> * Update addons/explosives/functions/fnc_stopExcludingMine.sqf Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com> * Header Fixes Fix information in the function headers Co-authored-by: jonpas <jonpas33@gmail.com> * Remove Individual Functions * Compacter Functions * Event * remove tab (facepalm) * Jonpass' Review Fixes Co-authored-by: jonpas <jonpas33@gmail.com> * Fix exitWith mistake * Refractor of allowDefuse Co-authored-by: jonpas <jonpas33@gmail.com> * Update addons/explosives/functions/fnc_allowDefuse.sqf Co-authored-by: jonpas <jonpas33@gmail.com> * Update Documentation * Rephrase documentation * Another rephrase * Relabel Locality * Update addons/explosives/functions/fnc_allowDefuse.sqf Co-authored-by: BaerMitUmlaut <BaerMitUmlaut@users.noreply.github.com> Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com>
22 lines
386 B
Plaintext
22 lines
386 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Walthzer
|
|
* Check if a mine is allowed to recieve a dynamic defuse action.
|
|
*
|
|
* Arguments:
|
|
* 0: Mine <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Allowed <BOOLEAN>
|
|
*
|
|
* Example:
|
|
* [_mine] call ace_explosives_fnc_isAllowedDefuse
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
|
|
params [["_mine", objNull, [objNull]]];
|
|
TRACE_1("params",_mine);
|
|
|
|
!(_mine in GVAR(excludedMines))
|