2024-01-11 20:01:50 +00:00
|
|
|
#include "..\script_component.hpp"
|
2017-04-11 15:33:56 +00:00
|
|
|
/*
|
2024-01-08 21:22:52 +00:00
|
|
|
* Author: Jaynus, NouberNou, Lambda.Tiger
|
2024-01-13 02:27:07 +00:00
|
|
|
* Adds a round type to the blacklist (will be ignored).
|
2017-04-11 15:33:56 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2024-01-13 02:27:07 +00:00
|
|
|
* 0: Projectile <OBJECT> or classname <STRING>
|
2017-04-11 15:33:56 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2017-04-11 15:33:56 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2024-01-08 21:22:52 +00:00
|
|
|
* [projectile] call ace_frag_fnc_addBlackList
|
2017-04-11 15:33:56 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2016-10-26 22:16:31 +00:00
|
|
|
|
2024-01-08 21:22:52 +00:00
|
|
|
params ["_proj"];
|
2017-04-11 15:33:56 +00:00
|
|
|
TRACE_1("addBlackList",_round);
|
2016-10-26 22:16:31 +00:00
|
|
|
|
2024-01-13 02:27:07 +00:00
|
|
|
switch (typeName _proj) do {
|
|
|
|
case "OBJECT": {
|
|
|
|
GVAR(shouldFragCache) set [typeOf _proj, false];
|
|
|
|
};
|
|
|
|
case "STRING": {
|
|
|
|
GVAR(shouldFragCache) set [_proj, false];
|
|
|
|
};
|
|
|
|
default { };
|
|
|
|
};
|