Jump to content
Sign in to follow this  
Jacob Herbst

Undefined Variables from description.ext

Recommended Posts

Once I run the mission from 2d editor (which works perfectly in 2d editor, by the way) in Eden, after start of the mission game doesn't accept the parameters from description.ext, specified this way:

 



class f_param_debugMode
{
title = "$STR_f_param_debugMode";
values[] = {0,1};
texts[] = {"Off","On"};
default = 0;
code = "f_var_debugMode = %1";
};


 

And at the end shows the error: Error Undefined variable in expression: f_var_debugmode

I should say this happens once I run the mission as SP

 

Same happens to rest of the variables listed under param block in description.ext

How can this be solved? 

Share this post


Link to post
Share on other sites
code = "f_var_debugMode = %1";

Arma 3 params system doesn't support any code property, where did you find this?

When the code is not called, f_var_debugMode variable is not declared and the error appears.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×