2015-02-11 01:55:53 +00:00
|
|
|
/*
|
|
|
|
* Author: PabstMirror
|
2015-08-09 03:18:26 +00:00
|
|
|
*
|
2015-03-21 01:17:49 +00:00
|
|
|
* After FUNC(disarmDropItems) has completed, passing a possible error code.
|
|
|
|
* Passes that error back to orginal caller.
|
2015-02-11 01:55:53 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-02-27 21:23:46 +00:00
|
|
|
* 0: caller <OBJECT>
|
2015-02-11 01:55:53 +00:00
|
|
|
* 1: target <OBJECT>
|
2015-02-27 21:23:46 +00:00
|
|
|
* 2: errorMsg <STRING>
|
2015-02-11 01:55:53 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2015-02-27 21:23:46 +00:00
|
|
|
* Nothing
|
2015-02-11 01:55:53 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2015-03-21 01:17:49 +00:00
|
|
|
* [player1, player2, "Someting fucked up"] call ace_disarming_fnc_eventTargetFinish
|
2015-02-11 01:55:53 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-08-09 03:18:26 +00:00
|
|
|
params ["_caller", "_target", "_errorMsg"];
|
2015-02-11 01:55:53 +00:00
|
|
|
|
2015-02-27 22:16:35 +00:00
|
|
|
if (_errorMsg != "") then {
|
2016-10-02 10:55:31 +00:00
|
|
|
INFO_2("%1 - eventTargetFinish: %2",CBA_missionTime,_this);
|
2016-05-24 23:51:58 +00:00
|
|
|
[QGVAR(debugCallback), [_caller, _target, _errorMsg], [_caller]] call CBA_fnc_targetEvent;
|
2015-02-27 22:16:35 +00:00
|
|
|
};
|