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