Arma 3 Scripting

BIS_fnc_moduleFuel

  • Local argument
  • Global effect
  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Set fuel of linked units' vehicles.

Note

Regarding locality: unit's vehicle must be local to the machine, the unit itself can be remote.

Syntax

[logic, units, isActivated] call BIS_fnc_moduleFuel

Parameters:

Returns: Boolean - true when done, even if isActivated equals false

Examples

Example 1

[myLogic, [unit1, unit2, vehicle1], true] call BIS_fnc_moduleFuel;

See also

fuel · setFuel