mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 12:52:41 +00:00
31 lines
500 B
Plaintext
31 lines
500 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Whigital
|
|
* Clears cached variable containing placeable explosives.
|
|
*
|
|
* Arguments:
|
|
* 0: Unit <OBJECT>
|
|
* 1: Corspe <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params [
|
|
"_unit",
|
|
"_corpse"
|
|
];
|
|
|
|
TRACE_2("params",_unit,_corpse);
|
|
|
|
if (_unit == player) then {
|
|
[
|
|
{ACE_player == player},
|
|
{[ACE_player, QGVAR(explosiveActions)] call EFUNC(common,eraseCache);}
|
|
] call CBA_fnc_waitUntilAndExecute;
|
|
};
|