#include "..\script_component.hpp" /* * Author: drofseh * Set weapon's ammo to specific temperature. * * Arguments: * 0: Unit * 1: Weapon * 2: Temperature * * Return Value: * None * * Example: * [player, currentWeapon player, 123] call ace_overheating_fnc_setAmmoTemperature * * Public: Yes */ params ["_unit", "_weapon", "_temp"]; private _ammoTempVarName = format [QGVAR(%1_ammoTemp), _weapon]; _unit setVariable [_ammoTempVarName, _temp];