#include "..\script_component.hpp" /* * Author: Jaynus, NouberNou * Adds a round to the blacklist (will be ignored). * * Arguments: * 0: Projectile * * Return Value: * None * * Example: * [_projectile] call ace_frag_fnc_addBlackList * * Public: No */ params ["_projectile"]; TRACE_2("addBlackList",_projectile,typeOf projectile); _projectile setVariable [QGVAR(blacklisted)]; _projectile removeEventHandler [ "HitPart", _projectile getVariable [QGVAR(hitPartEventHandler), -1] ]; _projectile removeEventHandler [ "Explode", _projectile getVariable [QGVAR(explodeEventHandler), -1] ];