mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
26 lines
591 B
Plaintext
26 lines
591 B
Plaintext
/*
|
|
* Author: BaerMitUmlaut
|
|
* Sends a request to the units assigned medic to heal it.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* call ACE_medical_ai_fnc_requestMedic
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
private _assignedMedic = _this getVariable QGVAR(assignedMedic);
|
|
private _healQueue = _assignedMedic getVariable [QGVAR(healQueue), []];
|
|
_healQueue pushBack _this;
|
|
_assignedMedic setVariable [QGVAR(healQueue), _healQueue];
|
|
|
|
#ifdef DEBUG_MODE_FULL
|
|
systemChat format ["%1 requested %2 for medical treatment", _this, _assignedMedic];
|
|
#endif
|