CBA_fnc_dropItem

Description

Drops an item.

Function which verifies existence of _item and _unit, returns false in case of trouble, or when able to remove _item from _unit true in case of success

Parameters

_unitthe unit that should drop the item <OBJECT>
_itemclass name of the item to drop STRING

Returns

true if successful, false otherwise <BOOLEAN>

Examples

_result = [player, "FirstAidKit"] call CBA_fnc_dropItem

Author

commy2

string used by format
Close