ACE3/addons/tacticalladder/functions/fnc_pickupTL.sqf

27 lines
429 B
Plaintext
Raw Normal View History

/*
* Author: Rocko, Ruthberg
* Pick up tactical ladder
*
* Arguments:
* 0: ladder <OBJECT>
* 1: unit <OBJECT>
*
* Return Value:
* Success?
*
* Example:
* [_ladder, _unit] call ace_tacticalladder_fnc_pickupTL;
*
* Public: No
*/
#include "script_component.hpp"
if ((backpack ACE_player) != "") exitWith { false };
PARAMS_2(_ladder,_unit);
deleteVehicle _ladder;
_unit addBackpack "ACE_TacticalLadder_Pack";
true