gruppe-adler / grad_meh

An Arma 3 Modification built on intercept, which allows exporting data from Arma 3 maps.
MIT License
13 stars 2 forks source link

gradMehExportMap throws error when executed from a function #11

Closed DerZade closed 4 years ago

DerZade commented 4 years ago

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 commented 4 years ago

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