mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
28 lines
441 B
Plaintext
28 lines
441 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Rocko, Ruthberg, commy2
|
|
* Pick up tactical ladder
|
|
*
|
|
* Arguments:
|
|
* 0: unit <OBJECT>
|
|
* 1: ladder <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Success <BOOL>
|
|
*
|
|
* Example:
|
|
* [_unit, _ladder] call ace_tacticalladder_fnc_pickupTL
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_unit", "_ladder"];
|
|
|
|
if (backpack _unit != "") exitWith {false};
|
|
|
|
deleteVehicle _ladder;
|
|
|
|
_unit addBackpack "ACE_TacticalLadder_Pack";
|
|
|
|
true
|