ACE3/addons/frag/functions/fnc_addBlacklist.sqf
PabstMirror 0642d3724d use common addExplosionEventHandler
move from firedEH to use common's explode event
2024-08-22 13:54:42 -05:00

22 lines
459 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Jaynus, NouberNou
* Adds a round to the blacklist (will be ignored) and removes any ace_frag event handlers added to it.
*
* Arguments:
* 0: Projectile <OBJECT>
*
* Return Value:
* None
*
* Example:
* [_projectile] call ace_frag_fnc_addBlackList
*
* Public: No
*/
params ["_projectile"];
TRACE_2("addBlackList",_projectile,typeOf projectile);
_projectile setVariable [QGVAR(blacklisted), true];