• Moves an item inside unit's inventory to specified slot. If this slot contains an item, their positions are swapped.

    This is the same as if you'd right-click an item in game to move it to a different slot.

    Returns:

    • true if the move was successful, even if moving an item to its current slot (no change)
    • false if unit/item invalid, item not in inventory, invalid item slot specified

    Parameters

    Returns boolean

Generated using TypeDoc