2015-02-28 21:10:20 +00:00
|
|
|
/*
|
|
|
|
* Author: KoffeinFlummi
|
|
|
|
* Callback when the morphine treatment is complete
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The medic <OBJECT>
|
|
|
|
* 1: The patient <OBJECT>
|
|
|
|
* 2: Selection Name <STRING>
|
|
|
|
* 3: Treatment classname <STRING>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* nil
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
#define MORPHINEHEAL 0.4
|
|
|
|
|
2015-04-28 18:32:02 +00:00
|
|
|
private ["_caller", "_target"];
|
2015-02-28 21:10:20 +00:00
|
|
|
_caller = _this select 0;
|
|
|
|
_target = _this select 1;
|
|
|
|
|
2015-04-28 18:32:02 +00:00
|
|
|
[[_target], QUOTE(DFUNC(treatmentBasic_morphineLocal)), _target] call EFUNC(common,execRemoteFnc); /* TODO Replace by event system */
|