mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ee79decb45
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
22 lines
385 B
Plaintext
22 lines
385 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: tcvm
|
|
* Checks if the unit can pickup the tripod
|
|
*
|
|
* Arguments:
|
|
* 0: Tripod <OBJECT>
|
|
* 1: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Can pickup <BOOL>
|
|
*
|
|
* Example:
|
|
* [cursorObject, player] call ace_csw_fnc_canPickupTripod
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_tripod", "_unit"];
|
|
|
|
((secondaryWeapon _unit) == "") && {alive _tripod} // return
|