ACE3/addons/refuel/functions/fnc_turnOn.sqf

21 lines
358 B
Plaintext
Raw Normal View History

/*
* Author: GitHawk
* Turn on a fuel nozzle
*
* Arguments:
* 0: The object holding the nozzle <OBJECT>
*
* Return Value:
* None
*
* Example:
* [tank] call ace_refuel_fnc_turnOn
*
* Public: No
*/
#include "script_component.hpp"
params ["_nozzleHolder"];
(_nozzleHolder getVariable QGVAR(nozzle)) setVariable [QGVAR(isRefueling), true, true];