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

gradMehExportMap throws error when executed from a function #11

Closed
DerZade opened this issue Feb 4, 2020 · 1 comment
Closed

gradMehExportMap throws error when executed from a function #11

DerZade opened this issue Feb 4, 2020 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@DerZade
Copy link
Member

DerZade commented Feb 4, 2020

gradMehExportMap throws the following error when it is executed from within grad_meh_fnc_export.

20:42:09   Error position: <gradMehExportMap [
_x,
_exportSat,
_expo>
20:42:09   Error Expected bool at index 1!
20:42:09 File \x\grad_meh\addons\main\functions\fn_export.sqf [grad_meh_fnc_export]..., line 84

If the command is executed from the debug console with just true at index 1 it works fine.
The weird thing is that the debug output a few lines above outputs the following:

20:42:07 "[GRAD_MEH]"
20:42:07 ["Malden"]
20:42:07 true
20:42:07 "BOOL"
20:42:07 true
20:42:07 "[GRAD_MEH]"

so sqf thinks _exportSat is a bool.

@DerZade DerZade changed the title gradMehExportMap throws error when executing in a function gradMehExportMap throws error when executed from a function Feb 4, 2020
@DerZade DerZade added the bug Something isn't working label Feb 4, 2020
@TheWillard TheWillard added invalid This doesn't seem right and removed bug Something isn't working labels Feb 6, 2020
@DerZade
Copy link
Member Author

DerZade commented Feb 8, 2020

This seems to be resolved with a newer version of the intercept plugin.

@DerZade DerZade closed this as completed Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants