ACE3/addons/disarming/functions/fnc_eventTargetFinish.sqf

27 lines
438 B
Plaintext
Raw Normal View History

2015-02-11 01:55:53 +00:00
/*
* Author: PabstMirror
* TODO
*
* 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-02-27 21:23:46 +00:00
* eventTargetFinish
2015-02-11 01:55:53 +00:00
*
* Public: No
*/
#include "script_component.hpp"
PARAMS_3(_caller,_target,_errorMsg);
2015-02-27 22:16:35 +00:00
if (_errorMsg != "") then {
systemChat _errorMsg;
["DisarmDebugCallback", [_caller], [_caller, _target, _errorMsg]] call EFUNC(common,targetEvent);
};