2015-01-11 16:42:31 +00:00
|
|
|
/*
|
2015-02-02 08:35:17 +00:00
|
|
|
* Author: Garth 'L-H' de Wet
|
|
|
|
* Whether the passed unit has placed any explosives or has a clacker that was used when explosives were placed.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: Unit <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Configs of all detonators <ARRAY>
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* _hasPlacedExplosives = [player] call ACE_Explosives_fnc_hasPlacedExplosives;
|
|
|
|
*
|
|
|
|
* Public: Yes
|
|
|
|
*/
|
2015-01-13 21:21:31 +00:00
|
|
|
#include "script_component.hpp"
|
2015-04-29 05:05:02 +00:00
|
|
|
// IGNORE_PRIVATE_WARNING(_hasPlacedExplosives);
|
|
|
|
|
2015-01-12 09:48:26 +00:00
|
|
|
(count (_this call FUNC(getPlacedExplosives)) > 0)
|