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