Jump to content
Sign in to follow this  
facoptere

__EVAL in sqf does not work

Recommended Posts

I try to use __EVAL and __EXEC in sqf files.

when I write:

w = __EVAL__(1+1);

Preprocessing does not work for __EVAL and the following is displayed:

2013/04/03, 18:11:08 Error in expression <

w = __EVAL(1+1);

2013/04/03, 18:11:08 Error position: <(1+1);

Are __EVAL and __EXEC limited to some file types?

Share this post


Link to post
Share on other sites

__EVAL still seems to work in description.ext

Edited by F2k Sel

Share this post


Link to post
Share on other sites

check the official configs to see how its used

__EVAL and __EXAC are NOT for sqf/scripts - just for configs (ext is also such type)

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  

×