Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More tricky _is_radio #3

Open
michail-nikolaev opened this issue Oct 31, 2013 · 2 comments
Open

More tricky _is_radio #3

michail-nikolaev opened this issue Oct 31, 2013 · 2 comments

Comments

@michail-nikolaev
Copy link

Is it possble to change _is_radio function to this (pleeese):

_is_radio =
{
private ["_item"];

_item = _this select 0;

(_item == "ItemRadio") or {(configname inheritsFrom (configFile >> "CfgWeapons" >> _item)) == "ItemRadio"}

};

In such case items inherited from ItemRadio also will be supported. So, usage of mods like Task Force Radio will more comfortable.

Thanks.

@michail-nikolaev
Copy link
Author

ping-ping...

@michail-nikolaev
Copy link
Author

:(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant