ACE3/addons/tacticalladder/functions/fnc_pickupTL.sqf

28 lines
438 B
Plaintext
Raw Normal View History

/*
* Author: Rocko, Ruthberg, commy2
* Pick up tactical ladder
*
* Arguments:
* 0: unit <OBJECT>
* 1: ladder <OBJECT>
*
* Return Value:
2015-08-07 06:19:15 +00:00
* Success <BOOL>
*
* Example:
* [_unit, _ladder] call ace_tacticalladder_fnc_pickupTL
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit", "_ladder"];
if (backpack _unit != "") exitWith {false};
deleteVehicle _ladder;
_unit addBackpack "ACE_TacticalLadder_Pack";
true