BASE fnc setUnitLoadout

From Desolation REDUX Wiki
Jump to navigation Jump to search

Description[edit]

Sets the specified unit's loadout.

Syntax[edit]

Syntax

[unit,loadout] call BASE_fnc_setUnitLoadout

Parameters

unit: Object - Unit to set the loadout of.
loadout: Array - Loadout information. Formated the same as the setUnitLoadout function.

Return Value

Nothing - No Return Value

Examples[edit]

Example 1:

_loadout = getUnitLoadout player;
[player,_loadout] call BASE_fnc_setUnitLoadout;

Additional Information[edit]

Execution: Call

See Also: APMS Specific Functions

Notes[edit]

May have issues.