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

23 lines
467 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: tcvm
* Checks if the player can deploy the tripod.
*
* Arguments:
* 0: Player <OBJECT>
*
* Return Value:
* Can deploy <BOOL>
*
* Example:
* player call ace_csw_fnc_canDeployTripod
*
* Public: No
*/
params ["_player"];
private _secondaryWeapon = secondaryWeapon _player;
_secondaryWeapon != "" && {getText (configFile >> "CfgWeapons" >> _secondaryWeapon >> QUOTE(ADDON) >> "type") == "mount"} // return