ACE3/addons/marker_flags/functions/fnc_canPlace.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
343 B
Plaintext

#include "..\script_component.hpp"
/*
* Authors: Brett Mayson
* Checks if a flag can be placed by a unit.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* Can place <BOOL>
*
* Example:
* player call ace_marker_flags_fnc_canPlace
*
* Public: No
*/
params ["_unit"];
GVAR(placeAnywhere) || {_unit call EFUNC(common,canDig)}