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>
22 lines
395 B
Plaintext
22 lines
395 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author:tcvm
|
|
* Checks if the player can deploy the tripod.
|
|
*
|
|
* Arguments:
|
|
* 0: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Can deploy <BOOL>
|
|
*
|
|
* Example:
|
|
* [player] call ace_csw_fnc_assemble_canDeployTripod
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_player"];
|
|
|
|
(getText(configFile >> "CfgWeapons" >> (secondaryWeapon _player) >> QUOTE(ADDON) >> "type") == "mount")
|
|
|