mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
16 lines
278 B
Plaintext
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];
|