ACE3/addons/csw/functions/fnc_canPickupTripod.sqf
johnb432 56eae4060c
CSW - Improve function headers & comments (#10149)
Code formatting changes from 9234
2024-07-27 19:42:31 +02:00

21 lines
377 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: tcvm
* Checks if the player can pickup the tripod.
*
* Arguments:
* 0: Tripod <OBJECT>
*
* Return Value:
* Can pickup <BOOL>
*
* Example:
* cursorObject call ace_csw_fnc_canPickupTripod
*
* Public: No
*/
params ["_tripod"];
alive _tripod && {((crew _tripod) findIf {alive _x && {!unitIsUAV _x}}) == -1} // return