mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup some undefined functions and strings
This commit is contained in:
parent
3fdc0dd521
commit
fe5dd3fe76
@ -9,8 +9,6 @@
|
||||
* None
|
||||
*
|
||||
* Public: Yes
|
||||
*
|
||||
* Note: Not functional, because FUNC(localAnim) does no longer exist
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
@ -19,4 +17,4 @@ params ["_unit"];
|
||||
[
|
||||
_unit,
|
||||
["amovppnemstpsnonwnondnon", "amovppnemstpsraswrfldnon", "amovppnemstpsraswlnrdnon", "amovppnemstpsraswpstdnon"] select (([primaryWeapon _unit, secondaryWeapon _unit, handgunWeapon _unit] find currentWeapon _unit) + 1)
|
||||
] call FUNC(localAnim);
|
||||
] call FUNC(doAnimation);
|
||||
|
@ -44,7 +44,7 @@ class CfgVehicles {
|
||||
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
||||
};
|
||||
|
||||
author = ECSTRING(common,Author);
|
||||
author = ECSTRING(common,aceteam);
|
||||
_generalMacro = "ACE_DefuseObject";
|
||||
displayName = "ACE Defuse Helper";
|
||||
model = "\A3\Weapons_f\dummyweapon.p3d";
|
||||
@ -67,7 +67,7 @@ class CfgVehicles {
|
||||
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
||||
};
|
||||
|
||||
author = "ACE";
|
||||
author = ECSTRING(common,aceteam);
|
||||
_generalMacro = "ACE_Explosives_Place";
|
||||
displayName = "Multi-meter";
|
||||
mapSize = 0.2;
|
||||
|
@ -17,7 +17,7 @@
|
||||
params ["_args", "_idPFH"];
|
||||
_args params ["_unit", "_type", "_detectorConfig", "_lastPlayed"];
|
||||
|
||||
if !([_unit, _type] call FUNC(hasDetectorType)) exitWith {
|
||||
if !([_unit, _type] call FUNC(hasDetector)) exitWith {
|
||||
// disable detector type
|
||||
[_unit, _type] call FUNC(disableDetector);
|
||||
[_idPFH] call CBA_fnc_removePerFrameHandler;
|
||||
|
@ -2,6 +2,11 @@
|
||||
#define COMPONENT_BEAUTIFIED Mine Detector
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
// #define DEBUG_MODE_FULL
|
||||
// #define DISABLE_COMPILE_CACHE
|
||||
// #define CBA_DEBUG_SYNCHRONOUS
|
||||
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||
|
||||
#ifdef DEBUG_ENABLED_MINEDETECTOR
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user