mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
363 B
Plaintext
23 lines
363 B
Plaintext
/*
|
|
* Author: KoffeinFlummi
|
|
* Initializes unit variables.
|
|
*
|
|
* Arguments:
|
|
* 0: The Unit <OBJECT>
|
|
*
|
|
* ReturnValue:
|
|
* nil
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
private ["_unit"];
|
|
|
|
_unit = _this select 0;
|
|
|
|
_unit setVariable [QGVAR(pain), 0, true];
|
|
_unit setVariable [QGVAR(morphine), 0, true];
|
|
_unit setVariable [QGVAR(bloodVolume), 1, true];
|