mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
29 lines
577 B
Plaintext
29 lines
577 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Jaynus, NouberNou, Lambda.Tiger
|
|
* Adds a round type to the blacklist (will be ignored).
|
|
*
|
|
* Arguments:
|
|
* 0: Projectile <OBJECT> or classname <STRING>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [projectile] call ace_frag_fnc_addBlackList
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_proj"];
|
|
TRACE_1("addBlackList",_round);
|
|
|
|
switch (typeName _proj) do {
|
|
case "OBJECT": {
|
|
GVAR(shouldFragCache) set [typeOf _proj, false];
|
|
};
|
|
case "STRING": {
|
|
GVAR(shouldFragCache) set [_proj, false];
|
|
};
|
|
default { };
|
|
}; |