Cleanup some undefined functions and strings

This commit is contained in:
PabstMirror 2016-06-20 13:58:37 -05:00
parent 3fdc0dd521
commit fe5dd3fe76
4 changed files with 9 additions and 6 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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