ACE3/addons/medical_status/functions/fnc_setHeartRate.sqf
2017-04-27 19:02:23 +02:00

16 lines
278 B
Plaintext

/*
* Author: BaerMitUmlaut
* Sets the heart rate of a unit.
*
* Arguments:
* 0: The Unit <OBJECT>
* 1: Heart rate <NUMBER>
*
* Return Value:
* None
*/
#include "script_component.hpp"
params ["_unit", "_heartRate"];
_unit setVariable [QGVAR(heartRate), _heartRate];