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>
23 lines
393 B
Plaintext
23 lines
393 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author:tcvm
|
|
* Checks if the player can pick-up the tripod.
|
|
*
|
|
* Arguments:
|
|
* 0: Tripod <OBJECT>
|
|
* 1: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Can pickup <BOOL>
|
|
*
|
|
* Example:
|
|
* [tripod, player] call ace_csw_fnc_assemble_canPickupTripod
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_tripod", "_player"];
|
|
|
|
((secondaryWeapon _player) isEqualTo "") && {alive _tripod}
|
|
|